Search found 142 matches

by D'rMorris
Thursday 14 June 2018 6:42
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 225

Re: Updating text through MQTT [solved]

@D'rMorris sometimes life is simple and an error easily overlooked. domoticz/in instead of Domoticz/in was thé golden tip! Thx!! Ralph Very welcome, glad you got it sorted out! Since the other flow was working, do you have multiple MQTT configutations defined? I have only 1 domoticz/in configuratio...
by D'rMorris
Wednesday 13 June 2018 21:29
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 225

Re: Updating text through MQTT

What happens if you update the text sensor first with an normal URL JSON? As reference, this is my script in NodeRed: msg.payload = {"command": "udevice", "idx": nnn, "svalue": "test")}; return msg; I'm also runinng the stable version. Just to be sure: you are sending data to domoticz/in (all lowerc...
by D'rMorris
Wednesday 13 June 2018 14:07
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 225

Re: Updating text through MQTT

The correct syntax is indeed:
{"command": "udevice", "idx": nnn, "svalue": "your text"}
I use a NodeRed function to update my location (latitude in this example) to a text sensor and there I use:

Code: Select all

msg.payload = {"command": "udevice", "idx": nnn, "svalue": String(msg.payload.lat)};
by D'rMorris
Wednesday 13 June 2018 14:01
Forum: Other questions and discussions
Topic: Edit script on Ipad
Replies: 4
Views: 338

Re: Edit script on Ipad

Same issue here, and the cause is that the screen tries to adjust to the screen width. The problem is that it keeps getting wider and wider. What I do when I have to edit on iPad (very cumbersome process) is put the iPad in portrait mode in stead of landscape. Your edit screen is narrower, but you c...
by D'rMorris
Monday 11 June 2018 10:47
Forum: Z-Wave
Topic: Zwave Aetonic S2 stick
Replies: 2
Views: 189

Re: Zwave Aetonic S2 stick

I don't have a Z-wave stick, but I think that I read somewhere that you need to exclude the device first on the "old" machine before you can include it in the "new" machine?
by D'rMorris
Friday 08 June 2018 12:21
Forum: ESP8266
Topic: water meter
Replies: 4
Views: 299

Re: water meter

before we start giving suggestions, it would help that we know what type of water meter you have and with which device you want to measure this.
That helps in giving correct suggestions and others might even give better solutions to your problem.
by D'rMorris
Thursday 01 February 2018 14:57
Forum: Show your projects
Topic: Wireless RFID as security key
Replies: 11
Views: 5691

Re: Wireless RFID as security key

Good afternoon, i have a similar need but, until now, with no solution. I want to allow some users to come inside a parkzone. They will have a rifd tag to be used to define if that user is allowed or not to come inside. Problem is that we have 250 users so i'm on the big trouble to filter only allo...
by D'rMorris
Thursday 01 February 2018 14:52
Forum: Show your projects
Topic: Wireless RFID as security key
Replies: 11
Views: 5691

Re: Wireless RFID as security key

I'm actually building a similar project at the moment and wanted to give my 2 cents, maybe it gives you some ideas. I'm using a NodeMCU V3 with ESPeasy on it (it's actually the same board as you use, I got mine from AliExpress). Attached to the NodeMCU is a PN532 RFID reader. My setup will be identi...
by D'rMorris
Wednesday 20 December 2017 10:30
Forum: General Discussion
Topic: [dutch] Vote for Domoticz as best SmartHomeAutomationPlatform
Replies: 14
Views: 1107

Re: [dutch] Vote for Domoticz as best SmartHomeAutomationPlatform

Why You do not solve my problem with Domoticz!! It's really amazing what people think they are entitled to. Domoticz is free software and is developed and maintained by a community. Demanding that that community has to solve your problem is not the way a community works. I would like to ask you to ...
by D'rMorris
Monday 02 October 2017 8:43
Forum: General Discussion
Topic: segmentation fault with current version
Replies: 2
Views: 445

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: 465

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: 248
Views: 30869

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: 248
Views: 30869

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: 1013

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: 248
Views: 30869

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: 248
Views: 30869

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: 9
Views: 2079

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: 976

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...