Search found 16 matches
- Friday 08 September 2017 21:06
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
Re: Watermeter lezen met raspberry en Inductieve NPN sensor
Check hownyour sensor works. If you sensor short/unshort VCC then you need to pulldown gpio If your sensor is short/unshort GND then you need to pullup gpio Then you need to know when your sensor is shorting unshorting pin (vcc of gnd) If it unshort pin by bounce so you need in your script if ...
- Thursday 07 September 2017 18:25
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 512433
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
ratjenl Do you have these devices available in Domoticz? Then you should be able to play a sound using blockly, some instructions on https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara) Did you see those? Does that help you? I already followed the wiki but didn't read about the blockly scripts. I ...
- Thursday 07 September 2017 18:20
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
Re: Watermeter lezen met raspberry en Inductieve NPN sensor
Everything is working now ok for me. Domoticz is showing a lot more then the actual usage ( domoticz says 915.333 while the meter says 915.261. I am trying to figure out how to fix this, maybe it is because i placed the npn not good enough. Sometimes the red led keeps burning. Anybody else got this ...
- Wednesday 06 September 2017 22:10
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
Re: Watermeter lezen met raspberry en Inductieve NPN sensor
One is working from within the pi, the other one just isn't strong enough even with an 12v or 24v adapter is just doenst read through the plastic. I guess there is a slight difference in both npn's.
- Wednesday 06 September 2017 21:31
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
Re: Watermeter lezen met raspberry en Inductieve NPN sensor
I received another 2 sensors. Both are working fine except one wont read through the plastic on my watermeter. As far as i can see i have the same meter posted here in this topic.
Can anybody explain why i don't get the liters but the total amount as stated in the attachment ?
Can anybody explain why i don't get the liters but the total amount as stated in the attachment ?
- Wednesday 06 September 2017 21:12
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 512433
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Well i finally received my Xiaomi gateway and added it to domoticz. I also ordered two door/windows sensors to use it as an alarm. With the mii home app it works very well and when i put the alarm "on" it immediatly plays sound from the gateway. Is there also a way to use these sensors inside ...
- Sunday 13 August 2017 15:55
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
Re: Watermeter lezen met raspberry en Inductieve NPN sensor
so by putting 5v on a pin that is meant to receive 3.3v you potentially break your pi. https://learn.sparkfun.com/tutorials/voltage-dividers/all?print=1 Hmmz, well it has been on for 24 hours now. I pulled it off and i am happy my pi is still working. Thank you for the link. I hope everything is ...
- Sunday 13 August 2017 14:54
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
Re: Watermeter lezen met raspberry en Inductieve NPN sensor
mine does 5 volt all the time, got it connected on pin40 (GPIO21)
- Sunday 13 August 2017 9:32
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
- Sunday 13 August 2017 8:11
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
- Saturday 12 August 2017 22:47
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
- Saturday 12 August 2017 22:38
- Forum: Other questions and discussions
- Topic: DB Backup to Google Drive
- Replies: 11
- Views: 4044
Re: DB Backup to Google Drive
Hi, there is specific behaviour of special characters in crontab, like $(date +%d). Look at this: https://unix.stackexchange.com/questions/29578/how-can-i-execute-date-inside-of-a-cron-tab-job You can store output of "date" command to variable in beginning of crontab, or call another script, as ...
- Saturday 12 August 2017 22:35
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
- Saturday 12 August 2017 20:05
- Forum: Other questions and discussions
- Topic: DB Backup to Google Drive
- Replies: 11
- Views: 4044
Re: DB Backup to Google Drive
I don't know what it was, i just made an extra script which i put in crontab that executes this line. I really don't know why crontab won't execute it but now it works ok.
- Saturday 12 August 2017 19:53
- Forum: Other questions and discussions
- Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
- Replies: 394
- Views: 114068
Re: Watermeter lezen met raspberry en Inductieve NPN sensor
Well i am trying hard but cannot get it to work. I followed al the steps as described but still this error keeps popping up : Callback function called! Traceback (most recent call last): File "/home/pi/domoticz/scripts/watermeter.py", line 41, in Interrupt if GPIO.input(21) == 0: RuntimeError: You ...
- Saturday 12 August 2017 9:19
- Forum: Other questions and discussions
- Topic: DB Backup to Google Drive
- Replies: 11
- Views: 4044
Re: DB Backup to Google Drive
Hi, I installed the script and it works out of the box when i use the command to upload the database however it doesn't work when i put it in crontab. When i copy the line from crontab and execute it manually it works fine but crontab doesn't do anything. Could anyone help me to get it to work ? My ...