Search found 7 matches
- Sunday 27 September 2020 20:57
- Forum: Python
- Topic: DHT22 stops reading after few hours script change
- Replies: 1
- Views: 1099
Re: DHT22 stops reading after few hours script change
sorry i think this is the scipt im using to update the data #!/usr/bin/python # coding: utf-8 import sys import Adafruit_DHT import urllib #from urllib import request # parameters DHT_type = 22 OneWire_pin = 4 room_temp_idx = 1 url_json = "http://192.168.0.10:8080/json.htm?type=command¶m=udevice ...
- Sunday 27 September 2020 20:49
- Forum: Bash / PowerShell / Batch etc.
- Topic: Raspberry Pi hardware PWM fan control and monitoring
- Replies: 1
- Views: 3651
Re: Raspberry Pi hardware PWM fan control and monitoring
Hey, i found your tutorial (at first thanks for that) puttet everything together but there is a problem when i test the script. pi@raspberrypi:~ $ sudo /usr/local/bin/fancontrol.sh /usr/local/bin/fancontrol.sh: Zeile 38: interval: Kommando nicht gefunden. sleep: fehlender Operand „sleep --help“ ...
- Sunday 27 September 2020 20:29
- Forum: Python
- Topic: DHT22 stops reading after few hours script change
- Replies: 1
- Views: 1099
DHT22 stops reading after few hours script change
Hey guys, i got the dht22 running with a switch in domoticz, works fine but after 6 hours it stops working and data goes to 0 i googled and found a solution (at least thats whatt i think) but im not able to conect the scripts :?: This seems to be the solution As fas as I am aware this is a fairly ...
- Tuesday 07 July 2020 19:22
- Forum: LUA
- Topic: DHT22 humidity > 50 switch on ?! I am giving up
- Replies: 8
- Views: 968
Re: DHT22 humidity > 50 switch on ?! I am giving up
f** yeah it works
thank you so much guys, Jos u gave the final Tip man, think this was the hook i was hangin on for a week.
muchas gracias
and to you freijn too for the script man.
BIG Up !!!
should load this up to github as a project to help others?
Peace out one love





thank you so much guys, Jos u gave the final Tip man, think this was the hook i was hangin on for a week.
muchas gracias
and to you freijn too for the script man.
BIG Up !!!
should load this up to github as a project to help others?
Peace out one love
- Tuesday 07 July 2020 2:05
- Forum: LUA
- Topic: DHT22 humidity > 50 switch on ?! I am giving up
- Replies: 8
- Views: 968
Re: DHT22 humidity > 50 switch on ?! I am giving up
it worked, it turned the switch on 1 time. i changed values and saved it again. turned the lamp off manually restarted, no action. cronjob was created. when i run the script in cmd ~/domoticz/scripts/lua $ lua solar.lua lua: solar.lua:17: attempt to index global 'otherdevices_temperature' (a nil ...
- Monday 06 July 2020 21:33
- Forum: LUA
- Topic: DHT22 humidity > 50 switch on ?! I am giving up
- Replies: 8
- Views: 968
Re: DHT22 humidity > 50 switch on ?! I am giving up
Thanks 4 helpin out. I shortend/change it cause it has a "relative startpoint"it checks humidity now and if there is a special amount of raise it switches on. but its not possible to say at 60% start and under 50% stop. so i tried to break it down to the "at least needed functions". i just got ...
- Monday 06 July 2020 18:16
- Forum: LUA
- Topic: DHT22 humidity > 50 switch on ?! I am giving up
- Replies: 8
- Views: 968
DHT22 humidity > 50 switch on ?! I am giving up
Hey Guys, Im not sure where the problem is, i already played around for hours but im kinda stuck. I did a little project on raspberry a few years ago, but seems like i forgot almost everything. I am tryin to set a switch on or off at a certain humidity, i tried it with blockly and it once triggert ...