Strangely, after some kind of software crash on my RPi, the domoticz stopped sending commands through RFXcom.
Apparently it still receives data from sensors, but cannot execute the commands.
If I get an old SDcard image of the system, everything runs smoothly... and commands are sent and data ...
Search found 7 matches
- Friday 29 May 2020 16:25
- Forum: 433 & 868 transceiver
- Topic: RFXCom does not send commands
- Replies: 0
- Views: 655
- Wednesday 28 March 2018 12:25
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 154769
Re: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP
Great plugin !!!!
- Tuesday 19 December 2017 18:45
- Forum: Python
- Topic: Domoticz current state - toggle switches after power supply down
- Replies: 1
- Views: 888
Re: Domoticz current state - toggle switches after power supply down
Since no help was available, please check how I did it :
import os
import sys
import csv
import time
import datetime
from shutil import move
from datetime import date, timedelta
import urllib2
import json
import subprocess
def main():
switches = ["79","80","110","109","108","42","78","44"]
i=0 ...
import os
import sys
import csv
import time
import datetime
from shutil import move
from datetime import date, timedelta
import urllib2
import json
import subprocess
def main():
switches = ["79","80","110","109","108","42","78","44"]
i=0 ...
- Wednesday 13 December 2017 15:27
- Forum: Python
- Topic: Domoticz current state - toggle switches after power supply down
- Replies: 1
- Views: 888
Domoticz current state - toggle switches after power supply down
Hello guys,
I been trying to create a python script to toggle my switches status whenever there is a power outage.
I have several chacon outlets controlled by an RFX433 device. Whenver there is a power outage at my home and the power is then restabilished, these switches remain off.
My domoticz ...
I been trying to create a python script to toggle my switches status whenever there is a power outage.
I have several chacon outlets controlled by an RFX433 device. Whenver there is a power outage at my home and the power is then restabilished, these switches remain off.
My domoticz ...
- Wednesday 29 June 2016 19:50
- Forum: Other questions and discussions
- Topic: Domoticz Offline after sending request over python
- Replies: 4
- Views: 1225
Re: Domoticz Offline after sending request over python
great !!! I manage to retrieve the backup...
did an "ls -al" and it showed me when the files were backed up :)
-rw-r----- 1 root root 425984 Jun 10 00:00 backup-day-10.db
-rw-r----- 1 root root 430080 Jun 11 00:00 backup-day-11.db
-rw-r----- 1 root root 430080 Jun 12 00:00 backup-day-12.db
-rw ...
did an "ls -al" and it showed me when the files were backed up :)
-rw-r----- 1 root root 425984 Jun 10 00:00 backup-day-10.db
-rw-r----- 1 root root 430080 Jun 11 00:00 backup-day-11.db
-rw-r----- 1 root root 430080 Jun 12 00:00 backup-day-12.db
-rw ...
- Wednesday 29 June 2016 13:35
- Forum: Other questions and discussions
- Topic: Domoticz Offline after sending request over python
- Replies: 4
- Views: 1225
Re: Domoticz Offline after sending request over python
I did also upgraded the release and nothing.
Today I copied a backup db from the backup folder and it is now showing as online... but I lost all the previous configurations.
Anyone knows what is the structure of the backup folder in order to retrieve a backup from 3 days ago ?
Thanks
Today I copied a backup db from the backup folder and it is now showing as online... but I lost all the previous configurations.
Anyone knows what is the structure of the backup folder in order to retrieve a backup from 3 days ago ?
Thanks
- Wednesday 29 June 2016 9:42
- Forum: Other questions and discussions
- Topic: Domoticz Offline after sending request over python
- Replies: 4
- Views: 1225
Domoticz Offline after sending request over python
Hello guys
Yesterday I was trying to send a command over a python request like this :
domoticzrequest("http://" + domoticzserver + "/json.htm?type=command¶m=udevice&idx=" + sensor_idx + "&nvalue=0&svalue="+ sensor_idx +";" + sensor_idx + "")
Something went wrong and after that my domoticz is ...
Yesterday I was trying to send a command over a python request like this :
domoticzrequest("http://" + domoticzserver + "/json.htm?type=command¶m=udevice&idx=" + sensor_idx + "&nvalue=0&svalue="+ sensor_idx +";" + sensor_idx + "")
Something went wrong and after that my domoticz is ...