Page 1 of 1

No HTTP poller protocol in the beta version !?

Posted: Wednesday 22 December 2021 11:14
by klaus44
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.

Re: No HTTP poller protocol in the beta version !?

Posted: Wednesday 22 December 2021 13:25
by waltervl
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?

Re: No HTTP poller protocol in the beta version !?

Posted: Wednesday 22 December 2021 13:55
by waltervl
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)?

Re: No HTTP poller protocol in the beta version !?

Posted: Wednesday 22 December 2021 16:50
by klaus44
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

Re: No HTTP poller protocol in the beta version !?

Posted: Wednesday 22 December 2021 20:22
by waltervl
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?

Re: No HTTP poller protocol in the beta version !?

Posted: Thursday 23 December 2021 14:24
by waltervl
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.

Re: No HTTP poller protocol in the beta version !?

Posted: Thursday 21 April 2022 9:33
by klaus44
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.

Re: No HTTP poller protocol in the beta version !?

Posted: Thursday 21 April 2022 13:28
by waltervl
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.