Hi
I made an update 2 days ago to the current beta of 2021.1.13949 2021-12-18 and found that the HTTP Poller Lua data is no longer in the domoticz log. I have 3 Http Lua pollers and no data in the Domoticz protocol.
Everything works, but no protocol.
There's a change in beta
Sorry for my German .. Google helped.
No HTTP poller protocol in the beta version !?
Moderator: leecollings
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No HTTP poller protocol in the beta version !?
You mean this function: https://www.domoticz.com/wiki/HTTP/HTTPS_poller
Is there an appropiate lua_parser script in domoticz/scripts/lua_parsers ?
Can you give a screenshot of your configuration (when public information) and one of the parser scripts so we can debug?
Is there an appropiate lua_parser script in domoticz/scripts/lua_parsers ?
Can you give a screenshot of your configuration (when public information) and one of the parser scripts so we can debug?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No HTTP poller protocol in the beta version !?
Just created a test http poller in latest beta to a website that has json output, entered the example_json.lua as command and I get CluaHandler errors (as expected).
So the principle seems to work.
Is the hardware enabled? Do you have al 3 logging sections switched on (info/status/error)?
So the principle seems to work.
Is the hardware enabled? Do you have al 3 logging sections switched on (info/status/error)?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- klaus44
- Posts: 8
- Joined: Wednesday 20 November 2019 11:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Aktuell
- Location: Berlin/Germany
- Contact:
Re: No HTTP poller protocol in the beta version !?
Hello Walter
Yes exactly, https://www.domoticz.com/wiki/HTTP/HTTPS_pollerc
There is a json file that is read by domoticz i Lua Parser folder on Domoticz.
all 3 logging sections are switched on, it has been running for over a year without any problems with update, except for the last update beta no longer on the Raspberry, no log.
I have created a new test HTTP poller with my old file, no data can be seen in the log.
Edit : I tested with example_json.lua, there is an error in the log.
Edit 2 When I program an error into my old Json Lua script, it shows me the error in the log
Yes exactly, https://www.domoticz.com/wiki/HTTP/HTTPS_pollerc
There is a json file that is read by domoticz i Lua Parser folder on Domoticz.
all 3 logging sections are switched on, it has been running for over a year without any problems with update, except for the last update beta no longer on the Raspberry, no log.
I have created a new test HTTP poller with my old file, no data can be seen in the log.
Edit : I tested with example_json.lua, there is an error in the log.
Edit 2 When I program an error into my old Json Lua script, it shows me the error in the log
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No HTTP poller protocol in the beta version !?
So it seems something in the Lua parser that is different. Is it possible to add some extra logging statements in the parser program?
What kind of Domoticz devices are you updating with the poller?
Can you post your Lua command to put the data in your device?
What kind of Domoticz devices are you updating with the poller?
Can you post your Lua command to put the data in your device?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No HTTP poller protocol in the beta version !?
From what version did you update?
Because some months ago there was a restriction added that the updateDevice values should follow the http API rules https://www.domoticz.com/wiki/Domoticz_ ... .2Fsensors
Perhaps your domoticz_updateDevice() command is now incorrect.
Because some months ago there was a restriction added that the updateDevice values should follow the http API rules https://www.domoticz.com/wiki/Domoticz_ ... .2Fsensors
Perhaps your domoticz_updateDevice() command is now incorrect.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- klaus44
- Posts: 8
- Joined: Wednesday 20 November 2019 11:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Aktuell
- Location: Berlin/Germany
- Contact:
Re: No HTTP poller protocol in the beta version !?
I made a backup again on version: 2021.1 (build 13207)
Compile Date: 2021-04-20 08:52:22
and there the output works in the log,
It's a pity that the new version doesn't work anymore... Probably nobody uses this function and I alone have the error.
Compile Date: 2021-04-20 08:52:22
and there the output works in the log,
It's a pity that the new version doesn't work anymore... Probably nobody uses this function and I alone have the error.
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No HTTP poller protocol in the beta version !?
As mentioned before there was a change about update rules.
Without more information from your side there is not much we can do.
Again my questions:
What kind of Domoticz devices are you updating with the poller?
Can you post your Lua command to put the data in your device (with lua command domoticz_updateDevice() )?
Can you post some example data.
I am happy to test something but then I need example data to build your environment.
Without more information from your side there is not much we can do.
Again my questions:
What kind of Domoticz devices are you updating with the poller?
Can you post your Lua command to put the data in your device (with lua command domoticz_updateDevice() )?
Can you post some example data.
I am happy to test something but then I need example data to build your environment.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest