Closed phgsbr closed 2 years ago
Hey, can you check your tasmota console for errors? Also check your mqtt broker log for authentication errors from NSPanel
Sure! here go:
00:00:00.998 WIF: Connecting to AP1 Octopus_Home Channel 2 BSSId 48:F8:B3:5F:04:E5 in mode 11n as tasmota-nspanel-esc-7432... 00:00:02.372 WIF: Connected 00:00:03.244 HTP: Web server active on tasmota-nspanel-esc-7432 with IP address 192.168.1.235 20:32:23.048 MQT: Attempting connection... 20:32:23.088 MQT: Connected 20:32:23.094 MQT: tele/tasmota_nspanel_esc/LWT = Online (retained) 20:32:23.098 MQT: cmnd/tasmota_nspanel_esc/POWER = 20:32:23.107 MQT: tele/tasmota_nspanel_esc/INFO1 = {"Info1":{"Module":"NSPanel","Version":"12.1.0.1(nspanel)","FallbackTopic":"cmnd/nspanel_fb/","GroupTopic":"cmnd/tasmotas/"}} 20:32:23.113 MQT: tele/tasmota_nspanel_esc/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-nspanel-esc-7432","IPAddress":"192.168.1.235"}} 20:32:23.118 MQT: tele/tasmota_nspanel_esc/INFO3 = {"Info3":{"RestartReason":"Software reset CPU","BootCount":36}} 20:32:23.123 MQT: stat/tasmota_nspanel_esc/RESULT = {"POWER1":"ON"} 20:32:23.126 MQT: stat/tasmota_nspanel_esc/POWER1 = ON 20:32:23.129 MQT: stat/tasmota_nspanel_esc/RESULT = {"POWER2":"OFF"} 20:32:23.132 MQT: stat/tasmota_nspanel_esc/POWER2 = OFF 20:32:24.417 MQT: stat/tasmota_nspanel_esc/STATUS = {"Status":{"Module":0,"DeviceName":"Nspanel","FriendlyName":["Tasmota",""],"Topic":"tasmota_nspanel_esc","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}} 20:32:24.467 MQT: stat/tasmota_nspanel_esc/RESULT = {"Time":"2022-08-24T20:32:24","Uptime":"0T00:00:06","UptimeSec":6,"Heap":156,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":138,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":223},"POWER1":"ON","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Octopus_Home","BSSId":"48:F8:B3:5F:04:E5","Channel":2,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}} 20:32:24.521 MQT: stat/tasmota_nspanel_esc/STATUS10 = {"StatusSNS":{"Time":"2022-08-24T20:32:24","ANALOG":{"Temperature1":30.0},"ESP32":{"Temperature":48.3},"TempUnit":"C"}} 20:32:24.572 MQT: stat/tasmota_nspanel_esc/STATUS11 = {"StatusSTS":{"Time":"2022-08-24T20:32:24","Uptime":"0T00:00:06","UptimeSec":6,"Heap":158,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":144,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":223},"POWER1":"ON","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Octopus_Home","BSSId":"48:F8:B3:5F:04:E5","Channel":2,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}} 20:32:24.616 MQT: stat/tasmota_nspanel_esc/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota32/release/tasmota32.bin","RestartReason":"Software reset CPU","Uptime":"0T00:00:06","StartupUTC":"2022-08-24T19:32:18","Sleep":0,"CfgHolder":4617,"BootCount":35,"BCResetTime":"2022-08-23T19:50:56","SaveCount":117}} 20:32:24.664 MQT: stat/tasmota_nspanel_esc/STATUS2 = {"StatusFWR":{"Version":"12.1.0.1(nspanel)","BuildDateTime":"2022-08-23T15:51:24","Core":"2_0_4_1","SDK":"v4.4.3","CpuFrequency":80,"Hardware":"ESP32-D0WD-V3 rev.3","CR":"444/699"}} 20:32:25.914 QPC: Reset 20:32:27.915 MQT: tele/tasmota_nspanel_esc/STATE = {"Time":"2022-08-24T20:32:27","Uptime":"0T00:00:09","UptimeSec":9,"Heap":157,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":205,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":223},"POWER1":"ON","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Octopus_Home","BSSId":"48:F8:B3:5F:04:E5","Channel":2,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}} 20:32:27.935 MQT: tele/tasmota_nspanel_esc/SENSOR = {"Time":"2022-08-24T20:32:27","ANALOG":{"Temperature1":30.1},"ESP32":{"Temperature":48.3},"TempUnit":"C"} 20:32:59.122 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:33:59.122 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:34:59.127 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:35:59.169 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:36:59.170 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:37:27.921 MQT: tele/tasmota_nspanel_esc/STATE = {"Time":"2022-08-24T20:37:27","Uptime":"0T00:05:09","UptimeSec":309,"Heap":156,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":999,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":218},"POWER1":"ON","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Octopus_Home","BSSId":"48:F8:B3:5F:04:E5","Channel":2,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}} 20:37:27.936 MQT: tele/tasmota_nspanel_esc/SENSOR = {"Time":"2022-08-24T20:37:27","ANALOG":{"Temperature1":30.2},"ESP32":{"Temperature":48.3},"TempUnit":"C"} 20:37:59.171 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:38:59.124 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:39:59.172 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:40:59.172 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:41:59.173 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:42:27.922 MQT: tele/tasmota_nspanel_esc/STATE = {"Time":"2022-08-24T20:42:27","Uptime":"0T00:10:09","UptimeSec":609,"Heap":156,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":999,"MqttCount":1,"Berry":{"HeapUsed":14,"Objects":218},"POWER1":"ON","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Octopus_Home","BSSId":"48:F8:B3:5F:04:E5","Channel":2,"Mode":"11n","RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:04"}} 20:42:27.949 MQT: tele/tasmota_nspanel_esc/SENSOR = {"Time":"2022-08-24T20:42:27","ANALOG":{"Temperature1":30.3},"ESP32":{"Temperature":48.3},"TempUnit":"C"} 20:42:59.121 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:43:59.120 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"} 20:44:59.137 MQT: stat/tasmota_nspanel_esc/RESULT = {"CustomSend":"Done"}
This is Mosquitto Broker:
making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] mosquitto.sh: executing... [16:19:12] INFO: Certificates found: SSL is available [cont-init.d] mosquitto.sh: exited 0. [cont-init.d] nginx.sh: executing... [cont-init.d] nginx.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [16:19:12] INFO: Starting NGINX for authentication handling... [16:19:13] INFO: Starting mosquitto MQTT broker... 1661368753: Warning: Mosquitto should not be run as root/administrator. [16:19:13] INFO: Successfully send discovery information to Home Assistant. [16:19:13] INFO: Successfully send service information to the Supervisor.
what is your panel showing?
I'm missing messages like this in the tasmota log:
21:58:49.140 MQT: tele/tasmota_NsPanelTerrasse/RESULT = {"CustomRecv":"event,startup,39,eu"}
It should look like this
what is your panel showing?
I'm missing messages like this in the tasmota log:
21:58:49.140 MQT: tele/tasmota_NsPanelTerrasse/RESULT = {"CustomRecv":"event,startup,39,eu"}
Now the panel is showing this:
ah ok this explains it
you need to run this command in tasmtoa console
FlashNextion http://nspanel.pky.eu/lui-us-l-release.tft
https://docs.nspanel.pky.eu/prepare_nspanel2/?h=flash#flash-firmware-to-nextion-screen
Also add model: "us-l"
to the config, otherwise it will ask you to update to the EU version
Yes, i did!
i always get this reply:
21:29:43.345 FLH: host: nspanel.pky.eu, port: 80, get: /lui-us-l-release.tft
and nothing changes
Also add
model: "us-l"
to the config, otherwise it will ask you to update to the EU version
in apps.yaml? I added now, restarting the panel and appdaemon and nothing changed.
Do you get a red circle on the screen after sending this two commands in tasmota console?
You might have to restart tasmota if it hangs in flashing before thoose comamnds can do anything.
Nextion DRAKJHSUYDGBNCJHGJKSHBDN
Nextion cir 100,100,30,RED
Please add the tasmota log response of thoose commands
Did you use a different software before? Like the berry driver from blakadder? Did it work?
Do you get a red circle on the screen after sending this two commands in tasmota console?
You might have to restart tasmota if it hangs in flashing before thoose comamnds can do anything.
Nextion DRAKJHSUYDGBNCJHGJKSHBDN
Nextion cir 100,100,30,RED
Please add the tasmota log response of thoose commands
Nothing changed in screen. This is the result:
21:55:11.947 CMD: Nextion DRAKJHSUYDGBNCJHGJKSHBDN 21:55:11.966 MQT: stat/tasmota_nspanel_esc/RESULT = {"Nextion":"Done"} 21:55:31.515 CMD: Nextion cir 100,100,30,RED 21:55:31.534 MQT: stat/tasmota_nspanel_esc/RESULT = {"Nextion":"Done"}
Did you use a different software before? Like the berry driver from blakadder? Did it work?
No, your version was the first thing that i tried.
It should look like this:
21:57:55.320 CMD: Nextion cir 100,100,30,RED
21:57:55.342 MQT: stat/tasmota_nspkueche/RESULT = {"Nextion":"Done"}
21:57:55.429 MQT: tele/tasmota_nspkueche/RESULT = {"nextion":"bytes('1A')"}
Looks like there is a communication issue between tasmota and your nextion display. You could try to reseat the cable in the panel.
Ok, i`ll try!
damm, is so hard loose the panel from the wall! =(
Thank you so much!
Its working perfectly now.
last question: Is there an option to invert the landscape side?
thank you again!
There is an open feature request for this joBr99/nspanel-lovelace-ui#365
I've generated a (untested) version where the side is inverted for you, run this command in tasmota console:
FlashNextion https://nspanel.pky.eu/lovelace-ui/github/nspanel-us-l-i-latest.tft
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!
[ ] Provide a screenshot of your tasmota mqtt configuration:
[ ] Provide your appdaemon.yaml:
[ ] Provide your apps.yaml:
ADDITIONAL INFORMATION
Add information about your setup here, if any. (For example docker version of AppDaemon instead of the HomeAssistant Add-on)