Page 1 of 1

JSON API missing in Domoticz 2025.1 beta (16657)

Posted: Monday 28 April 2025 11:08
by Matmar
Hello everyone,

I'm currently running Domoticz 2025.1 (16657) because I need the Netatmo OAuth2 support (which is not available in the stable version yet).
Everything works fine when accessing the Domoticz web interface (e.g., http://192.xxx.x.x::8080/), but whenever I try to access the JSON API, I get a "Page not found" error.

For example, if I visit:

Code: Select all

http://192.xxx.x.x:8080/json.htm?type=devices&order=name
or simply

Code: Select all

http://192.xxx.x.x:8080/json.htm
I get a "404 Page Not Found" error.

I checked that Domoticz is running without the --minimalwebserver flag.

I am not using any reverse proxy (I connect directly).

Domoticz starts normally, and the web GUI is accessible.

Tested both HTTP and HTTPS access — same issue.

I am not using any authentication settings that could block API access.

My question:

Is the JSON API intentionally disabled or missing in the current 2025.1 (16657)?

Will it be reintroduced soon, or should we expect it only in the next stable release?

Thank you for your help,
Alberto

Re: JSON API missing in Domoticz 2025.1 beta (16657)

Posted: Monday 28 April 2025 11:51
by waltervl
Did you read this: https://wiki.domoticz.com/Domoticz_API/ ... and_newer)
In latest beta this has been enforced and really deprecated so the old type API calls will not work anymore.

Code: Select all

/json.htm?type=devices 
will be

Code: Select all

/json.htm?type=command&param=getdevices

Re: JSON API missing in Domoticz 2025.1 beta (16657)

Posted: Monday 28 April 2025 12:56
by Matmar
Hello,

I just wanted to thank you for the clarification regarding the changes in the JSON API. I now understand that the old command:

/json.htm?type=devices

has been replaced with:

/json.htm?type=command&param=getdevices

I appreciate the heads-up and the explanation—it was very helpful in understanding the recent updates. Everything is working smoothly now.

Thanks again!