Search found 110 matches

by mikeoo
Tuesday 03 May 2022 6:55
Forum: LUA
Topic: GarbageCalendar (new version) lua scripts
Replies: 463
Views: 71068

Re: GarbageCalendar (new version) lua scripts

Garbagecalendar has worked flawless for more than a year. Suddenly, a few weeks ago (don’t know exactly) the data now contains back slashes and new lines where they don’t belong The myGarbageDevice in domoticz looks like this: plastic-\, fruit- en tuinafval : 10 5 2022 groente-\, fruit- en tui ...
by mikeoo
Wednesday 26 May 2021 9:43
Forum: LUA
Topic: GarbageCalendar (new version) lua scripts
Replies: 463
Views: 71068

Re: GarbageCalendar (new version) lua scripts

Update : Fixt with updating the new script_time_garbagecalendar.lua file :D Again missing GFT item while it is active in the calendar so need your help again. It shows Papier en Karton and Restaval fine but GFT is missing that is collected today. :) Nothing changed on my side as far as i know ...
by mikeoo
Wednesday 28 April 2021 7:42
Forum: LUA
Topic: GarbageCalendar (new version) lua scripts
Replies: 463
Views: 71068

Re: GarbageCalendar (new version) lua scripts

Ha... sorry, I was looking at the wrong version number. In my test, when testing after making the change to the module, I did what is stated in the WebData from the website : <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="https://www ...
by mikeoo
Tuesday 27 April 2021 16:53
Forum: LUA
Topic: GarbageCalendar (new version) lua scripts
Replies: 463
Views: 71068

Re: GarbageCalendar (new version) lua scripts

I have pushed an update for m_opzet_api to Github which fixes the new API data format for this module. jvanderzande Fix issues with new returned data from Opzet api d004c8b 5 days ago [/url] You aren't running that version yet. Jos ;) edit: This is what I get: gft & etensresten: woe 28 apr ...
by mikeoo
Tuesday 27 April 2021 11:29
Forum: LUA
Topic: GarbageCalendar (new version) lua scripts
Replies: 463
Views: 71068

Re: GarbageCalendar (new version) lua scripts

I see that now info is grab anymore from m_opzet_api. I just update to the last version becasue of update of m_opzet_api When i check https://www.stadswerk072.nl/wanneer (Postcode: 1486 MK number 55 for testing) i can see that GFT is collected 28-4-2021 . When i run the script it is only getting the ...
by mikeoo
Saturday 17 October 2020 8:47
Forum: LUA
Topic: GarbageCalendar (new version) lua scripts
Replies: 463
Views: 71068

Re: GarbageCalendar (new version) lua scripts

jvdz wrote: Friday 16 October 2020 9:20 Should work fine with these settings: ;)

Code: Select all

wmodule=m_opzet_api
Hostname=inzamelkalender.stadswerk072.nl
Zipcode=1486MK
Housenr=88

Code: Select all

Schedule: gft & etensresten: maa 19 okt ; plastic, blik & drinkpakken: vri 23 okt ; restafval.: maa 26 okt ; 
Done...
Jos
Tnx, working great again :D
by mikeoo
Friday 16 October 2020 8:59
Forum: LUA
Topic: GarbageCalendar (new version) lua scripts
Replies: 463
Views: 71068

Re: GarbageCalendar (new version) lua scripts

Saw there is a new version and want to test is but it is missing my garbage collector :o

Can you also make it work for: inzamelkalender.stadswerk072.nl

Zipcode: 1486 MK
Number: 88
by mikeoo
Friday 17 April 2020 15:56
Forum: dzVents
Topic: JSon values to virtual sensors [Solved]
Replies: 3
Views: 1079

Re: JSon values to virtual sensors [Solved]

I am using DSMR-Logger to read the values from my electricity and gas meter and put them in Domoticz. After a update of DSMR-Logger it is working with RestApi and now i need to make a new script for it but my skills in DZvents are not there yet. I am working on it. Also for another forum member. I ...
by mikeoo
Thursday 16 April 2020 16:48
Forum: dzVents
Topic: JSon values to virtual sensors [Solved]
Replies: 3
Views: 1079

JSon values to virtual sensors [Solved]

I am using DSMR-Logger to read the values from my electricity and gas meter and put them in Domoticz. After a update of DSMR-Logger it is working with RestApi and now i need to make a new script for it but my skills in DZvents are not there yet. Hope someone would help creating a script for it ...
by mikeoo
Monday 10 February 2020 16:42
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

@mikeoo I is working but no logging at all now. The modification changes nothing related to logging. It only prevents eth0 from being falsely detected as a wireless interface. Could it be that you did not enable debug logging this time? The fix has been merged on GitHub, so it is now available ...
by mikeoo
Sunday 09 February 2020 15:04
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

Actually, you probably had exactly the same “problem”, but logging was different in V1. I wouldn’t spend to much time on testing V1 again. If the logging is bothering you I could make a quick patch to not log these messages. The would be nice if you could do that. Did the test and V1 upgrade to V2 a ...
by mikeoo
Sunday 09 February 2020 13:28
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

So version V1 have no problems with eth0 not present. Actually, you probably had exactly the same “problem”, but logging was different in V1. I wouldn’t spend to much time on testing V1 again. If the logging is bothering you I could make a quick patch to not log these messages. The would be nice if ...
by mikeoo
Sunday 09 February 2020 11:41
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

Result /usr/sbin/wlanconfig eth0 list; echo $? CODE: SELECT ALL Schuur-BZ.v4.0.80# /usr/sbin/wlanconfig eth0 list; echo $? Not supported 0 Thanks! So we found the culprit. Running wlanconfig on eth0 returns an error message, but not an errorlevel (still returning 0). So the plugin assumes it is a ...
by mikeoo
Sunday 09 February 2020 10:59
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

@mikeoo and bvansteyn I noticed in both your logs that eth0 is also queried although it is probably not a wireless interface. There might be something weird going on with the autodetection of interfaces for the wlanconfig command. Edited: Could one of you try this on the unifi cli directly and ...
by mikeoo
Sunday 09 February 2020 9:30
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

I upgraded 2 weeks ago the the new V2 version after using V1 from the beginning with 3 Unify AP without problems. After upgrade all was working fine and now problems. Last night it just start giving the same SSH errors and iDetect is not working anymore. If a phone leaves the house now of Wifi is ...
by mikeoo
Sunday 09 February 2020 8:07
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

I upgraded 2 weeks ago the the new V2 version after using V1 from the beginning with 3 Unify AP without problems. After upgrade all was working fine and now problems. Last night it just start giving the same SSH errors and iDetect is not working anymore. If a phone leaves the house now of Wifi is ...
by mikeoo
Sunday 03 March 2019 11:12
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

Varazir wrote: Sunday 03 March 2019 10:44 I guess this has been asked before but please let us change the port to use.
Edit file plugin.py there you can change the portnumber if needed. Just search for port.
by mikeoo
Sunday 03 March 2019 9:52
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

@EscApe I have 3 Unifi AP's and likely more to come, so I ended up up with 3 Anyone buttons. Would be great I guess to have one master Anyone button. Is this something that could considered? I also use 3 Unify AP and have only one Anyhome button. In Hardware page of Domoticz i use al 3 ip-adresses ...
by mikeoo
Monday 14 January 2019 15:15
Forum: Python
Topic: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery
Replies: 57
Views: 19612

Re: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery

I want to add some new flashed Sonoff devices to Domoticz but i can't get them in to Domoticz. Did this before and was always working fine and still working nice with the existing ones. Setup Tasmota on the device the same way as the older ones with only different topic name. In Tasmota i added ...
by mikeoo
Saturday 08 December 2018 11:19
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 200289

Re: Python plugin: Presence detection from wireless router

@hestia There’s not much I can tell without any debug log. Only thing I can guess is a damaged Domoticz and/or python installation. Do you have any other python plugins running successfully in Domoticz? I've AwoxSMP in a plugins folder but I don't use it and it didn't make Domoticz crashes when l ...