Search found 66 matches

by ressof
Monday 11 August 2025 10:45
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Stopping domoticz failes
Replies: 11
Views: 3807

Re: Stopping domoticz failes

When I use your command I get this

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libpython3.12t64' instead of 'libpython3.12'
libpython3.12t64 is already the newest version (3.12.3-1ubuntu0.7).
0 upgraded, 0 newly installed, 0 to ...
by ressof
Monday 11 August 2025 10:18
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Stopping domoticz failes
Replies: 11
Views: 3807

Re: Stopping domoticz failes

Thank you. It worked to install libssl manually to get Domoticz to install. But when upgrading to latest beta I still get

Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.

But I have libpython3.12t64 installed ...
by ressof
Monday 11 August 2025 9:46
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Stopping domoticz failes
Replies: 11
Views: 3807

Re: Stopping domoticz failes

I tried to do a fresh install on Ubuntu 24.04 but I get a error that I'm missing libssl1.1

I used this script to make a fresh install

sudo bash -c "$(curl -sSfL https://install.domoticz.com)"

When using the above install method does it install the Domoticz version that support libssl version 1 ...
by ressof
Friday 08 August 2025 8:53
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Stopping domoticz failes
Replies: 11
Views: 3807

Re: Stopping domoticz failes

I think it has something to do with libpython package.

I'm running Ubuntu 24.04.3 LTS and have installed libpython3.12t64 package.

When I start Domoticz I don't get any error message but when i disable and enable eventsystem i domoticz settings I get this message

Status: EventSystem - Python ...
by ressof
Monday 04 August 2025 13:08
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Stopping domoticz failes
Replies: 11
Views: 3807

Re: Stopping domoticz failes

Anyone else have this problem?
by ressof
Thursday 26 June 2025 10:59
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Stopping domoticz failes
Replies: 11
Views: 3807

Stopping domoticz failes

When stopping domoticz (latest beta) with "sudo systemctl stop domoticz" on Ubuntu 24.04 it wont shutdown normally and times out with this log.
Python version 3.12.3

Jun 26 10:52:16 domoticz systemd[1]: Stopping domoticz.service - domoticz_service...
Jun 26 10:53:46 domoticz systemd[1]: domoticz ...
by ressof
Tuesday 29 October 2024 7:46
Forum: dzVents
Topic: Get historical values from managed counter
Replies: 1
Views: 1363

Get historical values from managed counter

Hi

Is there a way of getting historical values from a managed counter? You can add values via updateHistory but is there a way of getting them back later on?
by ressof
Tuesday 29 October 2024 7:43
Forum: dzVents
Topic: OpenUrl question
Replies: 2
Views: 1435

Re: OpenUrl question

Thank you for your help
by ressof
Friday 25 October 2024 7:40
Forum: dzVents
Topic: OpenUrl question
Replies: 2
Views: 1435

OpenUrl question

Hi

I writing a script to check electical prices from Nord Pool that uses this URL:
https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-10-19&market=DayAhead&deliveryArea=SE3&currency=SEK

You can use tomorrow date in the url but the url is only valid sometime after 13:00. Is ...
by ressof
Wednesday 25 September 2024 9:35
Forum: Suggestions
Topic: low battery notifications 00:00
Replies: 9
Views: 4100

Re: low battery notifications 00:00

Hi

Has this been addressed yet? I have notification on all my battery driven sensors to notify if last update time is greater than 720 min. The first notification comes when timer has elapsed but then the notifications comes at 00:00 every night.

It should be a setting so you can choose which time ...
by ressof
Tuesday 17 September 2024 12:52
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

From a browser it worked. But from the logs in Domoticz it lead me to try this from the app instead of last command

/json.htm?type=command&param=switchlight&idx=193&switchcmd=Set Level&level=40

a space between "Set Level" instead of %20 and now it works

Thank you for your help.
by ressof
Thursday 12 September 2024 14:42
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

I think so, this i the command I ran:

Code: Select all

/json.htm?type=command&param=switchlight&idx=193&switchcmd=Set%20Level&level=40
by ressof
Thursday 12 September 2024 11:28
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

But when I try to change a selector switch I get this error

Code: Select all

{
	"message" : "Error sending switch command, check device/hardware (idx=193) !",
	"status" : "ERROR",
	"title" : "SwitchLight"
}
by ressof
Thursday 12 September 2024 7:39
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

That worked when I added

Code: Select all

Content-Type: application/x-www-form-urlencoded
in header.

Thank you
by ressof
Wednesday 11 September 2024 15:57
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

I have tested with some different online json post tester and it seems that when the content is in this form it works:

type=command&param=switchlight&idx=775&switchcmd=Toggle

but when it is json formatted like this it does not work

{"type":"command","param":"switchlight","idx":"775","switchcmd ...
by ressof
Wednesday 04 September 2024 12:53
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy


Hi.
Are you using zigbee plugin and what is the version of Domoticz?

https://zigbeefordomoticz.github.io/wiki/en-eng/Problem_FAQ.html#e10-error--webserver-deprecated-rtype-devices-for-api-request-handled-via-fallback-getdevices-please-use-correct-api-command


I dont use zigbeefordomoticz, I use ...
by ressof
Wednesday 04 September 2024 12:42
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

In the end I want to use my Amazfit Watch that has a html app that looks like this

Image
by ressof
Wednesday 04 September 2024 8:47
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

I tried with https://reqbin.com/post-online

I used this post:

POST /json.htm HTTP/1.1
Authorization: Basic [Base64 encoded uername:password]
Host: [domain]
Accept: application/json
Content-Type: application/json
Content-Length: 88

{
"type": "command",
"param": "switchlight",
"idx": 775 ...
by ressof
Wednesday 04 September 2024 8:01
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

Re: JSON call behind Nginx reverse proxy

Is there a way to use the API with POST or GET with headers and body instead of having the username and password in the URL? I'm using HTTPS
by ressof
Tuesday 03 September 2024 12:50
Forum: Other questions and discussions
Topic: JSON call behind Nginx reverse proxy
Replies: 15
Views: 1917

JSON call behind Nginx reverse proxy

Hi

I have setup domoticz to run behind a reverse proxy and followed this guide

https://www.domoticz.com/wiki/WebServer_Proxy

I have setup nginx as the guide and also added my proxys ip to trusted networks.
I can access domoticz from everywhere and I have to enter credentials and OTP to login ...