Closed romansp74 closed 1 year ago
forgot my previous message
there should be a message like this in the log, but it is missing in your log:
2022-11-15 23:08:35.413104 INFO nspanel-kueche: Received Message from Screen: event,startup,43,eu
please do the following steps:
check tasmota console/log for errors
check if event,startup,43,eu
messages are received by your mqtt broker
check if the messages from tasmota are received by your mqtt broker
I suppose there is an issue with mqtt authentication between tasmota and your broker.
Is your mqtt password longer than 4 chars? Tasmota needs at least 5 chars.
Thank you for helping me,,my password is longer than 4 chars. Tasmota console log:
00:00:04.616 WIF: Connected 06:48:25.063 HTP: Web server active on nspan1-0220 with IP address 192.168.1.47 06:48:25.865 MQT: Attempting connection... 06:48:25.910 MQT: Connected 06:48:25.917 MQT: nspan1/tele/LWT = Online (retained) 06:48:25.920 MQT: nspan1/cmnd/POWER = 06:48:25.929 MQT: nspan1/tele/INFO1 = {"Info1":{"Module":"NSPanel","Version":"12.2.0(nspanel)","FallbackTopic":"cmnd/DVES_C840DC_fb/","GroupTopic":"tasmotas/cmnd/"}} 06:48:25.945 MQT: nspan1/tele/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"nspan1-0220","IPAddress":"192.168.1.47"}} 06:48:25.951 MQT: nspan1/tele/INFO3 = {"Info3":{"RestartReason":"Vbat power on reset","BootCount":72}} 06:48:25.971 MQT: nspan1/stat/RESULT = {"POWER1":"OFF"} 06:48:25.975 MQT: nspan1/stat/POWER1 = OFF 06:48:25.978 MQT: nspan1/stat/RESULT = {"POWER2":"OFF"} 06:48:25.981 MQT: nspan1/stat/POWER2 = OFF 06:48:26.081 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"} 06:48:27.024 MQT: nspan1/stat/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota32/rele...","RestartReason":"Vbat power on reset","Uptime":"0T00:00:08","StartupUTC":"2022-11-16T05:48:19","Sleep":0,"CfgHolder":4617,"BootCount":71,"BCResetTime":"2022-07-13T20:53:43","SaveCount":210}} 06:48:27.085 MQT: nspan1/stat/STATUS11 = {"StatusSTS":{"Time":"2022-11-16T06:48:27","Uptime":"0T00:00:08","UptimeSec":8,"Heap":133,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":209,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":219},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Andrej","BSSId":"FC:EC:DA:8A:70:37","Channel":1,"Mode":"11n","RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:04"}}} 06:48:27.157 MQT: nspan1/stat/RESULT = {"Time":"2022-11-16T06:48:27","Uptime":"0T00:00:08","UptimeSec":8,"Heap":137,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":216,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":219},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Andrej","BSSId":"FC:EC:DA:8A:70:37","Channel":1,"Mode":"11n","RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:04"}} 06:48:27.226 MQT: nspan1/stat/STATUS10 = {"StatusSNS":{"Time":"2022-11-16T06:48:27","ANALOG":{"Temperature1":24.1},"TempUnit":"C"}} 06:48:27.822 QPC: Reset 06:48:30.816 MQT: nspan1/tele/STATE = {"Time":"2022-11-16T06:48:30","Uptime":"0T00:00:11","UptimeSec":11,"Heap":137,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":326,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":219},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Andrej","BSSId":"FC:EC:DA:8A:70:37","Channel":1,"Mode":"11n","RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:04"}} 06:48:30.866 MQT: nspan1/tele/SENSOR = {"Time":"2022-11-16T06:48:30","ANALOG":{"Temperature1":24.1},"TempUnit":"C"} 06:48:32.047 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"} 06:48:38.348 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"} 06:48:44.249 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"} 06:48:50.249 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"} 06:48:56.150 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"} 06:49:02.148 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"} 06:49:08.051 MQT: nspan1/tele/RESULT = {"CustomRecv":"event,startup,43,eu"}
Ah I didn't see this because you've only switched it.
You changed the full topic in tasmota.
This results in different mqtt topics.
nspan1/tele/RESULT
Please change the full topic in tasmota back to the default or adjust the topics in Appdaemon to your format.
thank you, it's working now
PROBLEM DESCRIPTION
I'm seeing the waiting for content message on the Panel and I'm unable to find the configuration issue.
[] I've double checked each step explained in the FAQ:
https://docs.nspanel.pky.eu/faq/#waiting-for-content-this-is-taking-longer-than-usual-on-the-screen
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
apps.yaml here:
nspanel-1: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/nspan1/RESULT" panelSendTopic: "cmnd/nspan1/CustomSend" model: eu sleepTimeout: 20 sleepBrightness:
Log output here:
s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/00-banner.sh
Add-on: AppDaemon Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
Add-on version: 0.10.1 You are running the latest version of this add-on. System: Home Assistant OS 9.3 (aarch64 / raspberrypi4-64) Home Assistant Core: 2022.11.2 Home Assistant Supervisor: 2022.10.2
Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/01-log-level.sh cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0 cont-init: info: running /etc/cont-init.d/appdaemon.sh cont-init: info: /etc/cont-init.d/appdaemon.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun appdaemon (no readiness notification) s6-rc: info: service legacy-services successfully started [22:17:11] INFO: Starting AppDaemon... 2022-11-15 22:17:20.680273 INFO AppDaemon: AppDaemon Version 4.2.1 starting 2022-11-15 22:17:20.680736 INFO AppDaemon: Python version is 3.10.8 2022-11-15 22:17:20.681393 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml 2022-11-15 22:17:20.682154 INFO AppDaemon: Added log: AppDaemon 2022-11-15 22:17:20.683155 INFO AppDaemon: Added log: Error 2022-11-15 22:17:20.683644 INFO AppDaemon: Added log: Access 2022-11-15 22:17:20.684182 INFO AppDaemon: Added log: Diag 2022-11-15 22:17:21.032234 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2022-11-15 22:17:21.426788 INFO HASS: HASS Plugin Initializing 2022-11-15 22:17:21.427450 INFO HASS: HASS Plugin initialization complete 2022-11-15 22:17:21.428467 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2022-11-15 22:17:21.669500 INFO MQTT: MQTT Plugin Initializing 2022-11-15 22:17:21.670282 INFO MQTT: Using 'appdaemon/status' as Will Topic 2022-11-15 22:17:21.671089 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2022-11-15 22:17:21.672919 INFO AppDaemon: Initializing HTTP 2022-11-15 22:17:21.674306 INFO AppDaemon: Using 'ws' for event stream 2022-11-15 22:17:21.687995 INFO AppDaemon: Starting API 2022-11-15 22:17:21.696624 INFO AppDaemon: Starting Admin Interface 2022-11-15 22:17:21.697923 INFO AppDaemon: Starting Dashboards 2022-11-15 22:17:21.743620 INFO HASS: Connected to Home Assistant 2022.11.2 2022-11-15 22:17:21.787603 INFO MQTT: Connected to Broker at URL 192.168.1.49:1883 2022-11-15 22:17:21.843129 INFO AppDaemon: Got initial state from namespace mqtt 2022-11-15 22:17:21.845037 INFO MQTT: MQTT Plugin initialization complete 2022-11-15 22:17:21.852310 INFO AppDaemon: App 'nspanel-1' added 2022-11-15 22:17:21.855191 INFO AppDaemon: Found 1 total apps 2022-11-15 22:17:21.857061 INFO AppDaemon: Starting Apps with 1 workers and 1 pins 2022-11-15 22:17:21.859886 INFO AppDaemon: Running on port 5050 2022-11-15 22:17:21.970324 INFO HASS: Evaluating startup conditions 2022-11-15 22:17:21.974087 INFO AppDaemon: New client Admin Client connected 2022-11-15 22:17:21.997487 INFO HASS: Startup condition met: hass state=RUNNING 2022-11-15 22:17:21.998886 INFO HASS: All startup conditions met 2022-11-15 22:17:22.030307 INFO AppDaemon: Got initial state from namespace default 2022-11-15 22:17:23.880376 INFO AppDaemon: Scheduler running in realtime 2022-11-15 22:17:23.903746 INFO AppDaemon: Adding /config/appdaemon/apps to module import path 2022-11-15 22:17:23.906264 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui to module import path 2022-11-15 22:17:23.907511 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path 2022-11-15 22:17:23.908655 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2022-11-15 22:17:23.910307 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2022-11-15 22:17:23.911673 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2022-11-15 22:17:23.938850 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring 2022-11-15 22:17:23.941739 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2022-11-15 22:17:24.375488 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2022-11-15 22:17:24.379018 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2022-11-15 22:17:24.382216 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2022-11-15 22:17:24.386042 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2022-11-15 22:17:24.389917 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2022-11-15 22:17:24.393447 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2022-11-15 22:17:24.397477 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2022-11-15 22:17:24.401142 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2022-11-15 22:17:24.404795 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2022-11-15 22:17:24.409151 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2022-11-15 22:17:24.412858 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2022-11-15 22:17:24.415709 INFO AppDaemon: Initializing app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2022-11-15 22:17:24.614653 INFO nspanel-1: Starting 2022-11-15 22:17:24.627319 INFO nspanel-1: Input config: {'panelRecvTopic': 'tele/nspan1/RESULT', 'panelSendTopic': 'cmnd/nspan1/CustomSend', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'locale': 'de_DE', 'screensaver': {'entity': 'weather.k3ll3r'}, 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}]} 2022-11-15 22:17:24.631231 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/nspan1/RESULT', 'panelSendTopic': 'cmnd/nspan1/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'screenBrightness': 100, 'defaultBackgroundColor': 'ha-dark', 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': None, 'locale': 'de_DE', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}], 'screensaver': {'type': 'screensaver', 'entity': 'weather.k3ll3r', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver'}, 'hiddenCards': []} 2022-11-15 22:17:24.646853 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup 2022-11-15 22:17:24.680598 INFO nspanel-1: Registering callbacks for the following items: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2022-11-15 22:17:24.699311 INFO nspanel-1: Started 2022-11-15 22:17:24.704085 INFO AppDaemon: App initialization complete 2022-11-15 22:18:01.065400 INFO nspanel-1: Sending MQTT Message: time~22:18~ 2022-11-15 22:19:01.058492 INFO nspanel-1: Sending MQTT Message: time~22:19~