Search found 364 matches

by freijn
Sunday 23 September 2018 21:21
Forum: Bugs and Problems
Topic: Problem with python script
Replies: 3
Views: 73

Re: Problem with python script

Can you first make the indent correct? def domoticzread(idx, var): url = DomoBaseURL + idx response = requests.get(url) jsonData = json.loads(response.text) result = jsonData['result'][0][var] return result; like def domoticzread(idx, var): url = DomoBaseURL + idx response = requests.get(url) jsonDa...
by freijn
Wednesday 05 September 2018 19:41
Forum: Speech & Voice Systems
Topic: Alexa text to speech
Replies: 68
Views: 3718

Re: Alexa text to speech

Frank, I just use the well-known LANGUAGE="en-US" AMAZON='amazon.co.uk' ALEXA='alexa.amazon.co.uk' The rocket science is not in those settings but in using the cookies.txt plugin to create the cookie in Firefox run locally on the same machine as the script. As mentioned, running Firefox on a differ...
by freijn
Wednesday 05 September 2018 12:36
Forum: Speech & Voice Systems
Topic: Alexa text to speech
Replies: 68
Views: 3718

Re: Alexa text to speech

Phil

You make me jealous :-)
Can you please share the config parts of the script?

Alexa is behaving perfectly on Domoticz events here but......registered to the DE.
Would love to have my Alexa in US again.....

Thanks Frank
by freijn
Monday 03 September 2018 15:08
Forum: dzVents
Topic: Monitor Synology NAS with SNMP
Replies: 9
Views: 472

Re: Monitor Synology NAS with SNMP

Very nice job, many thanks !
by freijn
Friday 31 August 2018 11:01
Forum: Bugs and Problems
Topic: Smart Meter Voltage not shown correctly
Replies: 9
Views: 213

Re: Smart Meter Voltage not shown correctly

I have 3phase as well.

To my knowlegde the P1 makes totals of energy consumed or delivered.

My Solar is also 3 phase. Yours ? Single? Could that be the difference?
by freijn
Friday 31 August 2018 10:42
Forum: dzVents
Topic: Script Processing Order
Replies: 2
Views: 151

Re: Script Processing Order

eeehhhhhh make 1 script instead of 10 ? or ?
by freijn
Friday 31 August 2018 10:40
Forum: Other questions and discussions
Topic: Booting PI from USB
Replies: 5
Views: 256

Re: Booting PI from USB

****Warning***** The change is permanent !! So make sure your Pi can read the SSD and its not an nice experiment , its permanent..... https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md Before a Raspberry Pi 3 will boot from a mass storage device, it needs to be booted fr...
by freijn
Friday 31 August 2018 10:18
Forum: Bugs and Problems
Topic: Smart Meter Voltage not shown correctly
Replies: 9
Views: 213

Re: Smart Meter Voltage not shown correctly

nice and clean switch here : P1 sensor Status 2018-8-31 8:42 P1 values:4646892,4081997,1464192,3483924,6,0 P1 sensor Status 2018-8-31 8:42 P1 values:4646892,4081997,1464192,3483924,16,0 P1 sensor Status 2018-8-31 8:42 P1 values:4646892,4081997,1464192,3483924,13,0 P1 sensor Status 2018-8-31 8:42 P1 ...
by freijn
Thursday 30 August 2018 23:37
Forum: Bugs and Problems
Topic: Smart Meter Voltage not shown correctly
Replies: 9
Views: 213

Re: Smart Meter Voltage not shown correctly

Arnold, Made a small logging script , will let you know when the sun starts shining :-) P1 sensor Status 2018-8-30 23:36 P1 values:4644057,4081063,1464192,3483924,399,0 P1 sensor Status 2018-8-30 23:36 P1 values:4644058,4081063,1464192,3483924,397,0 P1 sensor Status 2018-8-30 23:36 P1 values:4644059...
by freijn
Thursday 30 August 2018 9:08
Forum: Bugs and Problems
Topic: Smart Meter Voltage not shown correctly
Replies: 9
Views: 213

Re: Smart Meter Voltage not shown correctly

Arnold, I have read your post many times and still do not understand the issue. sorry. While nobody did reply I believe I am not the only one :-) Let me first start with what I understand. Afaik The P1 only reports usage or delivery. So if your P1 shows 60 watts and the solar show 120 watts your hou...
by freijn
Wednesday 29 August 2018 10:19
Forum: Bugs and Problems
Topic: Smart Meter Voltage not shown correctly
Replies: 9
Views: 213

Re: Smart Meter Voltage not shown correctly

The cycle of the readings are not in sync. The moment a cloud appears your solar productions goes down. The way I do it ( still not 100% perfect but much better) I have connected the incoming data from my P1 as an event to retrieve my solar data and then calculate the in house usage of my electricit...
by freijn
Wednesday 29 August 2018 10:08
Forum: General Discussion
Topic: Airplanes and Domoticz :-)
Replies: 57
Views: 9785

Re: Airplanes and Domoticz :-)

Not sure where in the world you are? What timezone?
Are you familiar with Teamviewer ? I can join you and we do an online solve :-)

Lets move to PM

Frank
by freijn
Tuesday 28 August 2018 23:38
Forum: General Discussion
Topic: Airplanes and Domoticz :-)
Replies: 57
Views: 9785

Re: Airplanes and Domoticz :-)

you are seeing at least the airplanes. Can you set the distance to the original value and see if it starts working then? Apperantly its not hitting if dist < flightdistance: flightdistance = dist flightdistname= flightname if you take out the # in the below piece of code you get more debug prints......
by freijn
Tuesday 28 August 2018 17:18
Forum: General Discussion
Topic: Airplanes and Domoticz :-)
Replies: 57
Views: 9785

Re: Airplanes and Domoticz :-)

if a library is not found it will complain about it.... so no worries...

2018-08-28 13:48:43,617 ERROR FlyMonitor script started is correct , ignore error, its from the librabry I used.

Can you set
debug =1

and see what output it gives?
by freijn
Tuesday 28 August 2018 13:30
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 266
Views: 39425

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

It must go from VCC to zero I have found, the higher the voltage the more sensitive it becomes. +5 could work but is too low.. CAREFULL **WARNING** !! If you make VCC +12 then the output will be +12 as well. Feeding that into a Rapsberry or Arduino will be destructive ! I have made voltage reducer w...
by freijn
Tuesday 28 August 2018 9:56
Forum: General Discussion
Topic: Airplanes and Domoticz :-)
Replies: 57
Views: 9785

Re: Airplanes and Domoticz :-)

How did you copy and past the file? As it does have the indent in there. find this part in the source : #write near plane text file def nearplanefile(nearplane): file = open("nearplane.txt","w") file.write(nearplane) file.close() remove the tab or spaces before file so : def nearplanefile(nearplane)...
by freijn
Monday 27 August 2018 21:35
Forum: General Discussion
Topic: Airplanes and Domoticz :-)
Replies: 57
Views: 9785

Re: Airplanes and Domoticz :-)

Copy the below code to the raspberry running Piaware. Something like fly.py In Domoticz Create 3 counters ( Airplane, police Helicopter , Medical Helicopter ) Create a text sensor Note the IDX from all sensors and past them in the Config section Find the config parameters and change your ip and port...
by freijn
Monday 27 August 2018 16:39
Forum: General Discussion
Topic: Airplanes and Domoticz :-)
Replies: 57
Views: 9785

Re: Airplanes and Domoticz :-)

Frucoboti

Let me clean up my current script and share it with you.

Frank
by freijn
Thursday 23 August 2018 23:11
Forum: LUA
Topic: LUA: To many Telegram messages
Replies: 5
Views: 536

Re: LUA: To many Telegram messages

Interested in answer as well. :-)
by freijn
Thursday 23 August 2018 22:59
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: problem with Putty
Replies: 4
Views: 309

Re: problem with Putty

goto the Gui or the commandline on your HDMI output

type

sudo raspi-config


goto interfaces and check if ssh is enabled