Search found 6 matches

by Reinz
Thursday 06 September 2018 12:12
Forum: Bugs and Problems
Topic: Lua not triggered on device change
Replies: 1
Views: 115

Lua not triggered on device change

I have setup a new domoticz install with the WeatherUnderground plugin and noticed, the corresponding lua script does not fire on device change if the created multi sensor (by plugin) is not addet as device. Is this behavior intentional or a failure from my side? Raspberry 2, Jessie lite Version: 4....
by Reinz
Sunday 10 April 2016 21:21
Forum: Others
Topic: Huawei 3G modem with domoticz
Replies: 4
Views: 2639

Re: Huawei 3G modem with domoticz

I made something similar, but with SMS Servertools3 and had the problem that the sms deamon could not move the text files (for the sms) in the spool directory from "outgoing" to "sent" due owner ship problems. Here is my solution https://www.domoticz.com/forum/viewtopic.php?f=23&t=10251&p=72192#p72192
by Reinz
Sunday 10 April 2016 11:30
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO meter pulse counting with instant power calculation
Replies: 19
Views: 12249

Re: GPIO meter pulse counting with instant power calculation

Could you explain your script a little, I would like to adapt it for my meter with 75 revolutions per kWh.
Also I tried to comment out the gas metering but since I have no python experience I totally broke it ;)

thanks in advance
by Reinz
Thursday 28 January 2016 17:23
Forum: PHP and all others
Topic: Bash script for SMS Server tools
Replies: 1
Views: 872

Re: Bash script for SMS Server tools

After searching and puzzling found a solution, "sudu -u smsd" calls "tee" as another user (in this case sms deamon user) and writes the file. #!/bin/bash timefile=`date '+%Y_%m_%d_%H_%M_%S'`; timesms=`date '+%H:%M %d/%m'`; echo -e "To: 436XXXXXXXXXXXXX\n\nWAN is not reachable. $timesms" | sudo -u sm...
by Reinz
Wednesday 27 January 2016 22:05
Forum: PHP and all others
Topic: Bash script for SMS Server tools
Replies: 1
Views: 872

Bash script for SMS Server tools

Iam trying to create a text file for processing in SMS server tools but if the the script is fired via a switch in domoticz the created file is owned by "root" and the sms daemon "smsd" cannot acces the file. for those who dont know sms server tools yet, its a sms gateway daemon which is monitoring ...