Search found 14 matches

by Damnet
Friday 29 September 2017 22:27
Forum: Python
Topic: Yamaha AV Receiver Plugin
Replies: 73
Views: 26539

Re: Yamaha AV Receiver Plugin

2017-09-15 23:23:26.617 Error: (Yamaha Reciever Woonkamer) 'onMessage' failed 'TypeError':'onMessage() missing 2 required positional arguments: 'Status' and 'Extra''. Thats what i'm getting with my Yamaha RX-V477, it would be nice to get it working. Agree im getting the same errors fyi. 'onMessage ...
by Damnet
Tuesday 04 July 2017 20:10
Forum: LUA
Topic: Traffic with waze in Domoticz
Replies: 110
Views: 33456

Re: Traffic with waze in Domoticz

Yes same here:
html passed to JSON:decode():
403 Forbidden
nginx
by Damnet
Tuesday 27 June 2017 22:40
Forum: LUA
Topic: Text sensor displaying air traffic overhead
Replies: 22
Views: 5290

Re: Text sensor displaying air traffic overhead

Just to share for who ever wants to use this as well. I did get some errors when the values were like nil, and the script triend to do math on nil values, or concatente the, so included some checks on that. And I included an altitude limit in the api call of 5000 ft to limit the number of planes ...
by Damnet
Tuesday 20 June 2017 11:11
Forum: LUA
Topic: Text sensor displaying air traffic overhead
Replies: 22
Views: 5290

Re: Text sensor displaying air traffic overhead

Hi thanks for the info. I was aware of the built in 1 min trigger. Just left the os.time stuff in here if I wanted to make it less then every minute.
by Damnet
Sunday 18 June 2017 23:41
Forum: LUA
Topic: Text sensor displaying air traffic overhead
Replies: 22
Views: 5290

Re: Text sensor displaying air traffic overhead

Finally got the JSON part somewhat working using Online JSON viewer (e.g http://jsonviewer.stack.hu/) to figure out the right list. time = os.date("*t") day = tonumber(os.date("%w")) commandArray = {} dbug = true -- call with this command if((time.min % 1)==0) then print("AirplanesADSB LUA script ...
by Damnet
Sunday 18 June 2017 19:58
Forum: Heating/cooling
Topic: Rebuilding the Nest plugin
Replies: 67
Views: 23688

Re: Rebuilding the Nest plugin

That would really be a step up!!
by Damnet
Monday 12 June 2017 22:00
Forum: Python
Topic: Yamaha AV Receiver Plugin
Replies: 73
Views: 26539

Re: Yamaha AV Receiver Plugin

Hi Thomas, Really nice to be able to integrate my Yamaha into Domoticz, Im running on a raspberry pi 3 I have updated Domoticz to Version: 3.7722 Build Hash: dce48ed Compile Date: 2017-06-12 15:49:30 Phyton is up to date ~ $ sudo apt-get install libpython3.4 Reading package lists... Done Building ...
by Damnet
Sunday 28 May 2017 22:32
Forum: LUA
Topic: Text sensor displaying air traffic overhead
Replies: 22
Views: 5290

Re: Text sensor displaying air traffic overhead

i assume your message comes from UiD = tostring(tmp) As you have no var in tmp If you cannot find it do a print between each Line to see the result of each line for testing. Will mess up the log but give you a clue on what goes wrong Thanks for your answers did some dbug additions... output below ...
by Damnet
Tuesday 23 May 2017 22:32
Forum: LUA
Topic: Text sensor displaying air traffic overhead
Replies: 22
Views: 5290

Re: Text sensor displaying air traffic overhead

I have had this also once with an api Did not take the effort to look into it and solved it the dirty way Samply i used, you can tranform it any way for the data you need.. function UpdateID(t) if (t ~= nil and string.find(t,'update_id":') ~= nil ) then if (dbug == true) then print("UpdateID") end ...
by Damnet
Tuesday 23 May 2017 22:19
Forum: LUA
Topic: Text sensor displaying air traffic overhead
Replies: 22
Views: 5290

Re: Text sensor displaying air traffic overhead

Being also an airplane lover ( and close to Schiphol) I took an other Raspbery to monitor traffic over my City Purmerend. I do like your Idea and will build it in my script :-) Have you seen this? : http://www.domoticz.com/forum/viewtopic.php?f=4&t=16730 No I didn't, thanks for sharing looks like ...
by Damnet
Monday 22 May 2017 23:10
Forum: LUA
Topic: Text sensor displaying air traffic overhead
Replies: 22
Views: 5290

Text sensor displaying air traffic overhead

Hi I live 'close' to an airport AMS (Schiphol) and fortunately for me I love airplanes. Sometimes when I hear them I quickly pickup my phone and look for the plane overhead (type, destination etc) in apps like flightradar24 or adsbexchange. Apparently absd does have an API, so I started playing ...
by Damnet
Friday 24 March 2017 22:28
Forum: LUA
Topic: Clickatell and LUA
Replies: 2
Views: 863

Re: Clickatell and LUA

Thanks it worked like a charm!! Escaping the quotes was something I was not able to figure out myself os.execute('curl -i -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: 2Y5zsIpqQyqImq6o308ctw==" -d \'{"content": "Test Message Text", "to": ["+3161234567 ...
by Damnet
Friday 03 March 2017 20:47
Forum: Suggestions
Topic: Multi value custom sensor
Replies: 31
Views: 19441

Re: Multi value custom sensor

+1 would really like that!
by Damnet
Friday 24 February 2017 20:53
Forum: LUA
Topic: Clickatell and LUA
Replies: 2
Views: 863

Clickatell and LUA

Dear all, I'm trying to set-up an clickatell notifcitation. Does someone know how you can make this cURL POST in LUA? When browsing through other scripts I was only able to find an different HTTP calls 'http://api.clickatell.com/http/sendmsg?....." Has something changed over time? CURL CALL ...