Search found 1297 matches

by sincze
Sunday 24 November 2024 16:56
Forum: MQTT Auto Discovery
Topic: sidoh/esp8266_milight_hub 1.13.0
Replies: 2
Views: 525

Re: sidoh/esp8266_milight_hub 1.13.0

I noticed the MQTT commands changed slightly. From: { "state": "ON", "brightness": 255, "color": { "r": 255, "g": 255, "b": 255 }, "color_mode": "brightness", "status": "ON" } To: {"state":"ON","color":{"r":255,"g":136,"b":100}} {"state":"ON","brightness":148} Or for white: {"state":"ON","color":{"r ...
by sincze
Thursday 14 November 2024 18:04
Forum: MQTT Auto Discovery
Topic: Using node red with MQTT-AD
Replies: 1
Views: 465

Re: Using node red with MQTT-AD

Tnx for sharing ;-) I can work with that ;-)
by sincze
Tuesday 12 November 2024 20:25
Forum: MQTT Auto Discovery
Topic: sidoh/esp8266_milight_hub 1.13.0
Replies: 2
Views: 525

sidoh/esp8266_milight_hub 1.13.0

Just a heads up before updating! I just updated my ESP8266 milight hub to version 1.13.0 New interface looks really fantastic. The lights via this hub are integrated via autodiscovery into Domoticz 2024.7. When enabling the alarm the milights would flash red and disabling they would flash green. I ...
by sincze
Monday 24 June 2024 8:39
Forum: Python
Topic: Python plugin: Wallbox EV charger
Replies: 15
Views: 2626

Re: Python plugin: Wallbox EV charger

I created a customstart.sh. So everytime my Domoticz container is re-created the wallbox is re-installed. https://www.domoticz.com/wiki/Docker#custom_startup_script_for_the_container The plugin itself is maintained as this is mounted into the docker. #!/bin/bash if [ -f /opt/domoticz/FIRSTRUN ...
by sincze
Saturday 22 June 2024 0:26
Forum: Python
Topic: Python plugin: Wallbox EV charger
Replies: 15
Views: 2626

Re: Python plugin: Wallbox EV charger

It seems docker does not know wallbox.
Probably the docker was renewed??

How did you install the plugin in the docker?
by sincze
Saturday 20 April 2024 10:18
Forum: MQTT Auto Discovery
Topic: rc=19/Unknown error
Replies: 14
Views: 2526

Re: rc=19/Unknown error

A small update from my quest to switch from Openzwave to zwaveJS. With the begining of this year I made a fresh install of the 64bit version of Buster on my RPI4. Installed domoticz 2023 and zwaveJS with docker with help of this post [ https://www.domoticz.com/forum/viewtopic.php?p=303505&hilit ...
by sincze
Wednesday 17 April 2024 22:19
Forum: Python
Topic: Python plugin: Wallbox EV charger
Replies: 15
Views: 2626

Re: Python plugin: Wallbox EV charger

Hello, Interesting topic. I've looked at the two versions of the plugin mentioned in this topic: https://github.com/lokonli/domoticz-wallbox https://github.com/sincze/domoticz-wallbox Which one should I use? I've just tried installing them both (to folders wallbox and wallbox1 ) and I can't see ...
by sincze
Tuesday 16 April 2024 22:19
Forum: Other questions and discussions
Topic: Change hardware on current devices???
Replies: 4
Views: 1629

Re: Change hardware on current devices???

Is it possible to change the hardware on the plugin devices to the hardware (ID) of the Dummy? Yes. oldID=12 # change to ID of "old hardware" newID=15 # change to ID of "new hardware" cd <domoticz dir> sudo service domoticz stop sudo cp domoticz.db domoticz.keep sqlite3 domoticz.db "UPDATE ...
by sincze
Friday 12 April 2024 11:22
Forum: Python
Topic: Python plugin: Wallbox EV charger
Replies: 15
Views: 2626

Re: Python plugin: Wallbox EV charger

waltervl wrote: Friday 12 April 2024 9:29 Or use the mqttmapper plugin. I think this would be the easiest way.
Again, your knowledge (walking wiki) always seems to amaze me. Thanks for the tip!!
by sincze
Friday 12 April 2024 9:25
Forum: Python
Topic: Python plugin: Wallbox EV charger
Replies: 15
Views: 2626

Re: Python plugin: Wallbox EV charger

Found this trick. https://github.com/jagheterfredrik/wallbox-pwn together with: https://github.com/jagheterfredrik/wallbox-mqtt-bridge It allows you to obtain full control and all data locally from the Wallbox without breaking the Cloud functionality. It publishes data to MQTT every second. Wallbox ...
by sincze
Friday 12 April 2024 8:28
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1509
Views: 797192

Re: Pass2PHP

Egregius wrote: Friday 12 April 2024 4:54 I already guessed it would be the recorder. I disabled default config to disable history and recorder completely. Still 3GB written each day :o
Written a day yes. But mine cleans it back daily at 02:22:22 would that be of interest?? It is an automation task.
by sincze
Thursday 11 April 2024 11:39
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1509
Views: 797192

Re: Pass2PHP

creates a 30GB DB in 10 days... (because I forwarded some devices to domoticz to it...) it is crazy. Did you find anything to limit the db size? I'm searching for avoiding disk writes but can't get it lower than 3GB/day for hass. My domoticz server only writes 200MB/day. I went down from total DB ...
by sincze
Saturday 06 April 2024 10:59
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1509
Views: 797192

Re: Pass2PHP

creates a 30GB DB in 10 days... (because I forwarded some devices to domoticz to it...) it is crazy. Did you find anything to limit the db size? I'm searching for avoiding disk writes but can't get it lower than 3GB/day for hass. My domoticz server only writes 200MB/day. I went down from total DB ...
by sincze
Tuesday 02 April 2024 20:46
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: backupdatabase.php results in Unauthorized
Replies: 13
Views: 1829

Re: backupdatabase.php results in Unauthorized

Indeed it has nothing to do with php In this script I use an alternative methode: https://www.domoticz.com/forum/viewtopic.php?p=306625&hilit=ultimate#p306625 If you install sqlite3 then this command is much faster and can run outside of Domoticz when ever you want. sqlite3 $SOURCEPATH$SOURCEFILE ...
by sincze
Sunday 31 March 2024 12:45
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: backupdatabase.php results in Unauthorized
Replies: 13
Views: 1829

Re: backupdatabase.php results in Unauthorized

waltervl wrote: Sunday 31 March 2024 12:26 2024.4 gives me normal size backup when doing it through menu Settings > Backup and Restore -> Backup.
So it seems something is wrong in your setup.
Hehe probably. But with debug logging on and no errors... hard to find out.

What does the PHP command do?
by sincze
Sunday 31 March 2024 11:04
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: backupdatabase.php results in Unauthorized
Replies: 13
Views: 1829

Re: backupdatabase.php results in Unauthorized

Mmm interesting. sudo /usr/bin/curl -v -s http://domo_ip:domo_port/backupdatabase.php > file2.db Domoticz Version: 2023.1 it does give me the DB as a backup Domoticz Version: 2024.4 gives me 0 bytes Response Code is HTTP/1.1 200 OK So that does not seem to be unauthorized. [31/Mar/2024:11:12:43.561 ...
by sincze
Friday 01 March 2024 9:54
Forum: Suggestions
Topic: Option to disable hourly backups
Replies: 19
Views: 3441

Re: Option to disable hourly backups

The hourly backup can be disabled by removing the hourly folder in domoticz/backups. Then you only get the daily and monthly backup. Also check the log history settings especially the Lights/switches log setting as those can become very big if it has a long retention period eg 30 days. You really ...
by sincze
Friday 01 March 2024 8:29
Forum: Suggestions
Topic: Option to disable hourly backups
Replies: 19
Views: 3441

Re: Option to disable hourly backups

this is how i do it... #!/bin/bash curl http://$DOMO_IP:$DOMO_PORT/backupdatabase.php >$BACKUP_PATH/$BACKUP_NAME I indeed sometimes heard the famous words "LIGHTS NOT TURNING ON!", only just to realize this had something to do with the hourly backup of a 90 MB file. I noticed it myself only 2 days ...
by sincze
Thursday 29 February 2024 23:11
Forum: Python
Topic: Python Plugin: Growatt Inverter
Replies: 107
Views: 20805

Re: Python Plugin: Growatt Inverter

ravikjab wrote: Thursday 29 February 2024 21:49 What if i have 4 pcs power station in account growatt? How configurate this script?
That is a good question. I have no such amount of devices so unable to debug this.
by sincze
Monday 26 February 2024 13:51
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1509
Views: 797192

Re: Pass2PHP

I see in the logfiles that I get 0, 1 and 10. Didn't test in what condition what enters. The OS shouldn't make a difference indeed. But pass4mqtt replaces pass2php. The main benefit is that it also links up to HASS. So I got HASS running... creates a 30GB DB in 10 days... (because I forwarded some ...