Search found 47 matches

by remko2000
Friday 09 November 2018 11:13
Forum: MySensors
Topic: District Heating / City Heating (Stadsverwarming) Mysensor IR sender/Receiver
Replies: 21
Views: 4268

Re: District Heating / City Heating (Stadsverwarming) Mysensor IR sender/Receiver

ah you are right. My mistake. When I use: sudo python /home/pi/domoticz/scripts/pyKamstrup_single.py /dev/ttyUSB1 60 21 I get: Traceback (most recent call last): File "/home/pi/domoticz/scripts/pyKamstrup_single.py", line 243, in <module> value = int(value * 1000) TypeError: unsupported operand type...
by remko2000
Tuesday 06 November 2018 18:08
Forum: MySensors
Topic: District Heating / City Heating (Stadsverwarming) Mysensor IR sender/Receiver
Replies: 21
Views: 4268

Re: District Heating / City Heating (Stadsverwarming) Mysensor IR sender/Receiver

I've bought also a IR IR Transmitter and receiver from HAL9.dk. I've a Kamstrup Multical601. This is my script: #!/usr/bin/python # # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # <phk@FreeBSD.ORG> wrote this file. As long as ...
by remko2000
Saturday 27 October 2018 18:05
Forum: LUA
Topic: Error waterflow script
Replies: 4
Views: 219

Re: Error waterflow script

I'm trying to follow this ' how to' :
https://ehoco.nl/waterflowmeter-in-domoticz/

I think it is the difference between the moment the water starts to run and the water stops again.
I have followed exactly the how to, so it is strange that it does not work
by remko2000
Wednesday 24 October 2018 22:27
Forum: LUA
Topic: Error waterflow script
Replies: 4
Views: 219

Re: Error waterflow script

I tried to verify my code with a codechecker and get back:
line 7: attempt to index global 'uservariables' (a nil value)
stack traceback:
t.lua:7: in main chunk
[C]: ?
I'm a beginner with LUA so I do not know how to solve this? Is there someone who can help me?
by remko2000
Monday 22 October 2018 21:30
Forum: LUA
Topic: Error waterflow script
Replies: 4
Views: 219

Error waterflow script

I try to implant this code: commandArray = {} -- IDX Waterflow jIDX = 235 -- Begintijd in uservariables zetten if (uservariables['begin'] == 0) then -- print ("begin instellen") commandArray['Variable:begin'] = tostring(1) commandArray['Variable:begintijd']= tostring(os.time()) end -- Decimalen func...
by remko2000
Sunday 21 October 2018 15:55
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 278
Views: 43601

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Problem solved. I think a problem with the hardware/100nF condensator. It's now working like a charm with the pythonscript from @pvangorp. Now I try to add the waterflowmeter from @pvangorp https://ehoco.nl/waterflowmeter-in-domoticz/#comment-257 but get the following error: 2018-10-21 15:57:18.216 ...
by remko2000
Friday 19 October 2018 18:07
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 278
Views: 43601

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

I've a problem to read good values from my NPN-sensor ( https://nl.aliexpress.com/item/Free-Shipping-LJ12A3-4-Z-BX-New-Inductive-Proximity-Sensor-Detection-Switch-NPN-DC-6-36V/32526173088.html?spm=a2g0s.9042311.0.0.27424c4dzOHtIO . I connect it like this: Schermafbeelding 2018-10-19 om 17.58.53.png ...
by remko2000
Monday 24 September 2018 20:15
Forum: Bugs and Problems
Topic: Problem with python script
Replies: 5
Views: 313

Re: Problem with python script

I correct the indent: #!/usr/bin/env python # -*- coding: UTF-8 -*- """ stroomkosten.py Leest 'CounterToday' van de energiemeter uit en schrijft de berekende kosten naar een custom sensor. Het script wordt gedraaid via de crontab. """ import requests import json # Domoticz variabelen - wijzig naar j...
by remko2000
Sunday 23 September 2018 19:22
Forum: Bugs and Problems
Topic: Problem with python script
Replies: 5
Views: 313

Problem with python script

I'm stuck. I try to translate my power consumption to costs (EUR) with a pythonscript: https://ehoco.nl/stroomkosten-zichtbaar-maken-in-domoticz/#comment-212 . The information from my P1 smart meter comes in well. So I make a virtual sensor (' Stroomkosten' ) and place the modified pythonscript in p...
by remko2000
Saturday 22 September 2018 16:18
Forum: Python
Topic: update python 3.5.2 domoticz offline
Replies: 0
Views: 201

update python 3.5.2 domoticz offline

I upgrade my python tot 3.5.2 on my raspberry 3 because of an error: Failed dynamic library load, install the latest libpython3.x library that is available for your platform. Now my browser says domoticz offline (with ssh/terminal I see it's online). I followed https://www.domoticz.com/wiki/Linux At...
by remko2000
Monday 17 September 2018 20:02
Forum: Bash / PowerShell / Batch etc.
Topic: Easy sonos
Replies: 1
Views: 279

Re: Easy sonos

Oeps; I missed the CHmod part.......
by remko2000
Sunday 16 September 2018 19:59
Forum: Bash / PowerShell / Batch etc.
Topic: Easy sonos
Replies: 1
Views: 279

Easy sonos

I tried to implent the Easy sonos. I made the 3 scripts (sonos.class.php sonos.pause.php sonos.play.php) in: domoticz/scripts/sonos/.... on my raspberry. I followed: https://www.domoticz.com/wiki/Sonos Then I mada a vitual switch in Domoticz with an on action: script:///home/pi/domoticz/scripts/sono...
by remko2000
Monday 10 September 2018 17:49
Forum: ESP8266
Topic: Electronic Home Window Opener
Replies: 2
Views: 341

Re: Electronic Home Window Opener

Yes I've seen this device but.....it's a lot of money. I would like to spend less money.
by remko2000
Monday 10 September 2018 17:15
Forum: ESP8266
Topic: Electronic Home Window Opener
Replies: 2
Views: 341

Electronic Home Window Opener

I'm looking for a solution to open my window with an electric opener. I see the Axa Remote 2 but the collabaration with domoticz/ESP looks like a deadend. I have not yet read that someone has gotten it working with eg the arduino axa kit https://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3...
by remko2000
Friday 07 September 2018 19:04
Forum: Design, usability and languages
Topic: Dashticz
Replies: 2
Views: 636

Dashticz

I have installed dashticz in accordance with the wiki. I see now this: Schermafbeelding 2018-09-07 om 18.58.50.png However, I do not really get further. When I adjust and save settings, they are not remembered. I also miss my favorite switches. I thought that this standard should be present. What ca...
by remko2000
Sunday 02 September 2018 20:19
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Second raspberry
Replies: 5
Views: 506

Re: Second raspberry

Could it be the user If I read your post correctly. You have added a user to the slave Pi which is the main user name on your master Pi and on the master Pi you have used the main user name on your slave Pi. If that is the case then it should be changed around as below. If I’ve got it wrong please ...
by remko2000
Sunday 02 September 2018 11:53
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Second raspberry
Replies: 5
Views: 506

Re: Second raspberry

My mistake (6644 was a typo mistake). I have set everything as default (poort 6144 both master and slave). I changed it above. What have I set: -On the slave I add a user (the masterraspberry useraccount). -On the master I add a remote server with the IP of the slave on port 6144 and with the userac...
by remko2000
Sunday 02 September 2018 8:56
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Second raspberry
Replies: 5
Views: 506

Second raspberry

I would like to use a second raspberry (slave) in my house on the same network. So I followed: https://www.domoticz.com/wiki/Setting_up_Device_sharing . I use two Raspberry 3's (both Domoticz version 4.9700). I have set everything but I see in the log of my master: 2018-09-02 08:59:17.086 Error: Dom...
by remko2000
Sunday 19 August 2018 9:40
Forum: Zigbee
Topic: New Aqara hub is out
Replies: 3
Views: 1058

Re: New Aqara hub is out

What I wonder is whether the sensors and the new hub actually differ from the previous versions. Or is it only a firmware/software update? The prices are about doubled but they still look exactly the same. I understand that the aquara sensors would also become homekit-proof. Hopefully not only the n...