Search found 132 matches

by D'rMorris
Monday 02 October 2017 8:43
Forum: General Discussion
Topic: segmentation fault with current version
Replies: 2
Views: 295

Re: segmentation fault with current version

Segmentation fault is also a good hint that your SD card is corrupted (assuming you are running on a Pi). I had this quite often in the past and I replaced my power supply (especially Pi3 needs a good one, I bought the original) and that resolved all my segmentation faults.
by D'rMorris
Tuesday 26 September 2017 8:13
Forum: General Discussion
Topic: multiple mqtt topics ?
Replies: 2
Views: 266

Re: multiple mqtt topics ?

I would go for Mosquitto as MQTT broker. It's stable, trusted software and you can find loads of tutorials online. Mosquitto, in combination with NodeRED, gives you all the options you could ever need.
by D'rMorris
Thursday 07 September 2017 8:43
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 188
Views: 13210

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 ? If you share your scr...
by D'rMorris
Tuesday 29 August 2017 11:35
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 188
Views: 13210

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

That's easy to check of course. Do a sudo crontab -e when logged in with user pi and then switch to user root and check the crontab there :-)
by D'rMorris
Monday 28 August 2017 13:28
Forum: Bugs and Problems
Topic: segmentation fault in beta
Replies: 9
Views: 580

Re: segmentation fault in beta

I had the same issue. After the upgrade, Domoticz would not start (segmentation fault). After a reboot everything worked again.
by D'rMorris
Monday 28 August 2017 13:24
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 188
Views: 13210

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Not necessarily. As far as I know: when you do crontab -e it creates a cron for the user that you are currently logged in with. So if you do that when logged in with user pi, it creates a crontab for user pi. I think that GPIO access needs root so that is why you would eiter sudo it or create a cron...
by D'rMorris
Monday 28 August 2017 10:14
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 188
Views: 13210

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

In which cron did you place this? Cron for root? Or cron for user pi for example?
If in cron for pi, try to add the sudo command in the cron :-).
by D'rMorris
Friday 25 August 2017 20:28
Forum: Bugs and Problems
Topic: Segmentation fault at start V3.7692
Replies: 11
Views: 1342

Re: Segmentation fault at start V3.7692

you probably already tried this, but I had the same issue and I solved it by rebooting my Pi. Right after the update: segmentation fault. Rebooted and Domoticz started without issues. By the way: I'm running Domoticz on 3 Pi's: all three running Debian Stretch. Two Pi's use databases which I've used...
by D'rMorris
Wednesday 23 August 2017 8:32
Forum: Bugs and Problems
Topic: Will only start on port 8080
Replies: 5
Views: 502

Re: Will only start on port 8080

You could check if the port is set correctly in domoticz.sh located in /etc/init.d (which is the service) Look for the lines that say DAEMON_ARGS, two of them contain the -www and -sslwww port definitions. Check if these are indeed set correctly. If you start domoticz from the /home/pi/domoticz dire...
by D'rMorris
Tuesday 22 August 2017 15:35
Forum: General Discussion
Topic: Kodi notification
Replies: 4
Views: 425

Re: Kodi notification

a little bit more information would be nice. Based on which event do you want to send a notification?
Do you want to program it in the Domoticz events?
by D'rMorris
Sunday 20 August 2017 9:04
Forum: Bugs and Problems
Topic: Domoticz 8153 not running with Raspbian stretch
Replies: 6
Views: 2219

Re: Domoticz 8153 not running with Raspbian stretch

I had the same issue and I fixed it by downloading the libssl1.0.0 and manually installing it. In SSH do:
wget http://ftp.nl.debian.org/debian/pool/ma ... _armhf.deb

Then:
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
by D'rMorris
Sunday 20 August 2017 9:03
Forum: Bugs and Problems
Topic: Cant reach web interface (Raspberry PI)
Replies: 59
Views: 15519

Cant reach web interface (Raspberry PI)

I had the same issue and I fixed it by downloading the libssl1.0.0 and manually installing it. In SSH do:
wget http://ftp.nl.debian.org/debian/pool/ma ... _armhf.deb

Then:
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
by D'rMorris
Monday 14 August 2017 13:13
Forum: Suggestions
Topic: How many hours on
Replies: 9
Views: 797

Re: How many hours on

You can do it in LUA as well. First create a function that calculates the time difference: function timedifference (s) year = string.sub(s, 1, 4) month = string.sub(s, 6, 7) day = string.sub(s, 9, 10) hour = string.sub(s, 12, 13) minutes = string.sub(s, 15, 16) seconds = string.sub(s, 18, 19) t1 = o...
by D'rMorris
Saturday 12 August 2017 23:06
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 188
Views: 13210

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 ...
by D'rMorris
Monday 07 August 2017 19:15
Forum: Other questions and discussions
Topic: Control enigma2/Dreambox
Replies: 3
Views: 794

Re: Control enigma2/Dreambox

Read my post here: Checking Dreambox state

https://r.tapatalk.com/shareLink?share_ ... are_type=t
by D'rMorris
Monday 31 July 2017 8:11
Forum: Other questions and discussions
Topic: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)
Replies: 19
Views: 1219

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

No, not updating does not give you a guarantee that you will never have a crash. This depends on a lot of other factors, like the SD card and power supply you are using (do not save money on this!) as well. Those power supplies from Chinese webshops seem OK, but especially the Pi3 requires a power s...
by D'rMorris
Friday 28 July 2017 21:11
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 188
Views: 13210

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Well, the problem seemed to be in the script. I adjusted the bounce and delay, and now I have an error of about 0,3%. I can live with that. Here is the final code: #!/usr/bin/python import RPi.GPIO as GPIO import time import urllib2 import os #Watermeter stand (wordt alleen initeel gebruikt als er ...
by D'rMorris
Thursday 27 July 2017 9:57
Forum: Other questions and discussions
Topic: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)
Replies: 19
Views: 1219

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Depends on your use case as well of course. If you just want to play around with Domoticz or you only use it to display what's being played on Kodi on your Domoticz dashboard, then you can run it on the same Pi of course. Once you seriously start with home automation, I also would strongly recommend...
by D'rMorris
Wednesday 26 July 2017 23:18
Forum: Dashticz
Topic: Dashticz - Module - Spotify
Replies: 65
Views: 6231

Re: Dashticz - Module - Spotify

Just so that it might help others: if you only created a Spotify account so that you could test this plugin (like I did), please be aware that you indeed first have to actually play something. I created an account, enabled the developer API, created 2 playlists, got the Spotify login page when refre...
by D'rMorris
Wednesday 26 July 2017 22:43
Forum: Other questions and discussions
Topic: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)
Replies: 19
Views: 1219

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

It is defined in the domoticz.sh script, located in /home/pi/domoticz (assuming you used default location) and in /etc/init.d You only need to change the one in /etc/init.d, that is used on startup. First service domoticz.sh stop, then change the port, then service domoticz.sh start. Be aware that y...