I have ESP8266 mesuring voltage of a capacitive humidity senzor which is OK. Then i use rule:
on Hum#Analog do
SendToHTTP,192.168.1.239,8080,/json.htm?param=udevice&type=command&idx=28&nvalue=[Hum#Analog]
endon
this rule is working on another senzor but in this senzor it stop working and in log it is a message: UserVar index out of range. I dont know how to remedy this problem.
Thanks for help.
UserVar index out of range
Moderators: grovkillen, Stuntteam, TD-er
Re: UserVar index out of range
- What exact build do you have installed on your ESP?
- How is the 'Hum' device/task configured?
- How is the 'Hum' device/task configured?
/Ton (PayPal.me)
Re: UserVar index out of range
And more importantly which build are you using.
Please also try with a build from here: https://td-er.nl/ESPEasy/latest/
I think you're using a build based on code which had a bug in it where the RTC data array (to store the last task values) was cleared and not re-initialized.
Please also try with a build from here: https://td-er.nl/ESPEasy/latest/
I think you're using a build based on code which had a bug in it where the RTC data array (to store the last task values) was cleared and not re-initialized.
Re: UserVar index out of range
Because the same error is propagated to the second senzor which is running the same version 20230507 i returned to the previos version and all is working properly ESP_Easy_mega_20230306_normal_ESP8266_4M1M.bin.
Re: UserVar index out of range
Can you show the configuration settings for the Hum task?
/Ton (PayPal.me)
Re: UserVar index out of range
Please also test using the current latest build, as available from https://td-er.nl/ESPEasy/latest/ where you can flash it from the browser when accessing that site from Chrome or Edge, and the unit connected via (USB) Serial. No need (yet) to clear the flash before updating, as that will erase all settings. (Maybe you might need to erase the flash later if the issue is very persistent, but that would be unlikely with this error).
/Ton (PayPal.me)
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 9 guests