Hello all, i have a Nextion display (the basic one) and i'm trying to send a value from the display to the Domoticz.
This is my device
ad pressing the button ON on the display (like this)
i can only change the IDX and not the VALUE, i only obtain the off status ....
I don't understand ..... can someone help me ?
Nextion and Espeasy ..... what am i doing wrong ?
Moderators: grovkillen, Stuntteam, TD-er
Re: Nextion and Espeasy ..... what am i doing wrong ?
I don't see the "0a" termination character in your Nextion code. And value 1 should be formatted as sOn.
For example, to send idx = 77 and value = 1 the Nextion code would be written using two statements as follows:
More info here: https://espeasy.readthedocs.io/en/lates ... /P075.html
- Thomas
For example, to send idx = 77 and value = 1 the Nextion code would be written using two statements as follows:
Code: Select all
print "|s,i77,sOn" // Send idx 77 and boolean value 1 to ESPEasy
printh 0a // Required print termination character
- Thomas
Re: Nextion and Espeasy ..... what am i doing wrong ?
Thankyou ThomasB, now i can see the value changing from from 0 to 1
but the switch does not go on ...... it sends only the signal forr Off
Re: Nextion and Espeasy ..... what am i doing wrong ?
Great, ESPEasy is now correctly receiving the data from Nextion.now i can see the value changing from from 0 to 1
The value is changing to "1" so that is what can be sent to the controller. To send this data to a controller you can either (1) use the optional controller settings in the Nextion Plugin or (2) use ESPEasy rules (which typically allows more control on the data format of what is sent).but the switch does not go on ...... it sends only the signal for Off
Sorry I can't help further -- I don't use Domoticz so I can't offer advice on it. Hopefully a Domoticz user will chime in and help you out.
- Thomas
Who is online
Users browsing this forum: Bing [Bot] and 14 guests