Search found 29 matches

by Havym
Wednesday 23 August 2023 21:45
Forum: Temperature and Weather
Topic: Xiaomi Mi Temperature and Humidity Monitor 2
Replies: 5
Views: 3674

Re: Xiaomi Mi Temperature and Humidity Monitor 2

Since the update of domoticz i'm having problems updating the sensors. I tried with help from someone to fill my credentials and even call the script from root. The error: Traceback (most recent call last): File "/home/pi/xiaomi-mi-lywsd03mmc/xiaomiBleLywsd03mmc.py", line 2, in <module> import ...
by Havym
Sunday 20 August 2023 21:55
Forum: Python
Topic: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor
Replies: 18
Views: 7528

Re: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor

Yup, i'm also having troubles..... also with this plugin... viewtopic.php?t=34348
https://github.com/erdose/xiaomi-mi-lywsd03mmc
It's since the domoticz update 2023.2
by Havym
Sunday 21 March 2021 21:04
Forum: Other questions and discussions
Topic: Mosquitto MQTT broker v2.0.0
Replies: 12
Views: 7184

Re: Mosquitto MQTT broker v2.0.0

When version 2.0.8 is installed, can i go back to version 1.5.7?
And how can i do that? I'm not good with code.
by Havym
Wednesday 22 April 2020 17:13
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Thank again.... i created the exec_open and exec_close.sh files with you comments. Close works! pi@raspberrypi:~/SomPi $ ./exec_close.sh 2020-04-22 17:04:39 controller Open works too! pi@raspberrypi:~/SomPi $ ./exec_open.sh 2020-04-22 17:04:45 controller And now.... the great finale..... This one ...
by Havym
Wednesday 22 April 2020 0:12
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Yes i tried that one and it worked for a short time, but my raspberry crashed using this script.
This one is more complex then the SomPi scripts... but i can try again.

But i havent got any idea how to implement this one into domoticz either. :roll:
by Havym
Tuesday 21 April 2020 21:50
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Correct, remotes is a subdir in Sompi and the script refers to Overkapping.txt where the Somfy code is stored.

Verstuurd vanaf mijn ONEPLUS A6013 met Tapatalk

by Havym
Tuesday 21 April 2020 0:40
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Ok, so i deleted everything and started over. The script and the remotes folder like https://github.com/alxlaxv/SomPi are in /home/pi/SomPi and the controller is paired using ./controller.py Overkapping register Using in command line ./controller.py Overkapping close gives me the following and the ...
by Havym
Monday 20 April 2020 22:08
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Correct both commands worked and creates a log line in the file of today. pi@raspberrypi:~ $ /usr/bin/python /home/pi/domoticz/scripts/controller.py Overkapping close > /dev/null 2>&1 & [1] 28694 Line in log file: 2020-04-20 17:06:48 controller pi@raspberrypi:~ $ /usr/bin/python /home/pi/domoticz ...
by Havym
Monday 20 April 2020 17:08
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Thank you for you patience :oops: This works! /usr/bin/python /home/pi/domoticz/scripts/controller.py Overkapping close > /dev/null 2>&1 & pi@raspberrypi:~ $ /usr/bin/python /home/pi/domoticz/scripts/controller.py Overkapping close > /dev/null 2>&1 & [1] 28694 pi@raspberrypi:~ $ /usr/bin/python ...
by Havym
Monday 20 April 2020 15:00
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

I assume that in case it is activated from Domoticz, the actions is not carried out. Both closing and opening? If you do it from the command line it is carried out? What is the owner ship of the log files? (ls -l) Can you try to modify the exec.sh script, so that the last line moves up? #!/bin/sh ...
by Havym
Monday 20 April 2020 0:00
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Hi, Here are the results when executed in domoticz. The first one was the one function and the second the off function. 2020-04-19 23:57:36 controller 2020-04-19 23:57:43 controller By command line the same: pi@raspberrypi:~ $ /home/pi/domoticz/scripts/exec.sh Overkapping close 2020-04-20 00:02:00 ...
by Havym
Sunday 19 April 2020 22:13
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

pi@raspberrypi:~/domoticz/scripts $ ls -l exec.sh -rwxr-xr-x 1 pi pi 84 Apr 19 22:04 exec.sh Domoticz log: 2020-04-19 22:09:17.348 Status: User: Admin initiated a switch command (153/Zonnescherm/Off) 2020-04-19 22:09:17.578 Status: Executing script: /home/pi/domoticz/scripts/exec.sh Still nothing ...
by Havym
Sunday 19 April 2020 19:45
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Thank you for your help. I found this topic before but didn't understand what to do. Thanks to you i do. But still... Here are my findings. When i run in command line: sudo /home/pi/domoticz/scripts/overkappingclose.sh or just /home/pi/domoticz/scripts/overkappingclose.sh the screen closes. I ...
by Havym
Saturday 18 April 2020 14:57
Forum: Zigbee
Topic: Zigbee2MQTT device pairing
Replies: 7
Views: 605

Re: Zigbee2MQTT device pairing

Strange. I have those door sensors too and they work fine. I use a raspberry pi 3b+ with conbee2 stick and deConz plugin. The sensor is showing in domoticz and works perfectly the first time. The only thing that doesn't work yet is the xiaomi Opple switch. But they are working on it. Verstuurd vanaf ...
by Havym
Saturday 18 April 2020 12:47
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

I managed to got it working from /home/pi/domoticz/scripts/controller.py pi@raspberrypi:~ $ sudo /home/pi/domoticz/scripts/controller.py Overkapping close Action : close Room : Overkapping Remote : 0x267043 Button : 0x04 Rolling code : 263 Frame : 0xA7 0x40 0x01 0x07 0x26 0x70 0x43 With cks : 0xA7 ...
by Havym
Saturday 18 April 2020 10:54
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

No problem about your late reply. Sometimes life keeps up busy. But maybe you forgot about me :roll: Maybe i should mention it before but domoticz is run by user pi and not by root. But i tried the things you mentioned but it still doenst work. Using command line with sudo /home/pi/domoticz/scripts ...
by Havym
Friday 17 April 2020 12:41
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Unfortunately it still doesn't work. Can i put this command in another file and run the new file?
Maybe you can tell me how the script should look like. I cant do it myself.
by Havym
Thursday 16 April 2020 12:17
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

I tried making a dummy switch with these command and got the error again in domoticz 2020-04-16 12:14:19.440 Error: Error executing script command (/home/pi/domoticz/scripts/controller.py). returned: 256 And in command line: pi@raspberrypi:~/domoticz/scripts $ ./controller.py Overkapping close ...
by Havym
Wednesday 15 April 2020 13:24
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Go to the /home/pi/domoticz/scripts/ folder and run sudo SomPi/controller.py Overkapping close Please publish the result. I expect the same result as with: sudo /home/pi/domoticz/scripts/SomPi/controller.py Overkapping close Hi, your right, same result: pi@raspberrypi:~/domoticz/scripts $ sudo ...
by Havym
Tuesday 14 April 2020 9:43
Forum: RFLink Transceiver
Topic: Adding Somfy blinds to domoticz using 433.92 crystal
Replies: 34
Views: 5593

Re: Adding Somfy blinds to domoticz using 433.92 crystal

Could you try to run your script as root user: sudo /home/pi/domoticz/scripts/SomPi/controller.py Overkapping open, or close pi@raspberrypi:~ $ sudo /home/pi/domoticz/scripts/SomPi/controller.py Overkapping close Action : close Room : Overkapping Traceback (most recent call last): File "/home/pi ...