Search found 1296 matches

by sincze
Thursday 05 June 2025 11:39
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 832991

Re: Pass2PHP


I guess so ;)
Still some work to do but 98% is operational.
Mostly need to move my Xiaomi bridge, if I can figure out the access key.


Ok, as a Pass2PHP user since the beginning interested in your new approach.
As I could not find it in the repo yet ;-), last update some time ago.

For now I ...
by sincze
Monday 02 June 2025 15:00
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 832991

Re: Pass2PHP


As of now my Github repo pass2php is no longer compatible with Domoticz. It's rewritten to suit Home Assistant MQTT Statestream.
If you still like to use it, as example or anything, you'll have to browse the history to a date before today.


Ow this is interesting. You switched to ' the other ...
by sincze
Thursday 26 December 2024 20:45
Forum: Python
Topic: Python Plugin: Wan IP Checker
Replies: 175
Views: 39220

Re: Python Plugin: Wan IP Checker

Hesmink wrote: Friday 19 January 2024 20:48
Hesmink wrote: Friday 19 January 2024 20:42 Is there any way to force the checker to request only for ipv4?

I now get an ipv6 address from https://ifconfig.me/ip
To answer my own question: https://ipv4.icanhazip.com
Thanks that helped ;-) I was trying the "-4 ifconfig.me" way but that did not work out ;-)
by sincze
Sunday 24 November 2024 16:56
Forum: MQTT Auto Discovery
Topic: sidoh/esp8266_milight_hub 1.13.0
Replies: 2
Views: 2807

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 ...
by sincze
Thursday 14 November 2024 18:04
Forum: MQTT Auto Discovery
Topic: Using node red with MQTT-AD
Replies: 1
Views: 2789

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: 2807

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 ...
by sincze
Monday 24 June 2024 8:39
Forum: Python
Topic: Python plugin: Wallbox EV charger
Replies: 18
Views: 5444

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: 18
Views: 5444

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: 4901

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: 18
Views: 5444

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 ...
by sincze
Tuesday 16 April 2024 22:19
Forum: Other questions and discussions
Topic: Change hardware on current devices???
Replies: 4
Views: 1978

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: 18
Views: 5444

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: 18
Views: 5444

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 ...
by sincze
Friday 12 April 2024 8:28
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 832991

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: 1514
Views: 832991

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 ...
by sincze
Saturday 06 April 2024 10:59
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1514
Views: 832991

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 ...
by sincze
Tuesday 02 April 2024 20:46
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: backupdatabase.php results in Unauthorized
Replies: 13
Views: 3060

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: 3060

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: 3060

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 ...
by sincze
Friday 01 March 2024 9:54
Forum: Suggestions
Topic: Option to disable hourly backups
Replies: 24
Views: 7245

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 ...