Search found 52 matches

by FunFair
Tuesday 29 June 2021 22:01
Forum: dzVents
Topic: Monitor Synology NAS with SNMP
Replies: 17
Views: 12288

Re: Monitor Synology NAS with SNMP

With DSM7 my 2 disks are located at .1.3.6.1.2.1.25.2.3.1.5.47 and .1.3.6.1.2.1.25.2.3.1.5.48

This instead of .38 or .41
by FunFair
Thursday 04 June 2020 9:00
Forum: Python
Topic: New plugin : ESP8266 Milight Hub
Replies: 49
Views: 13211

Re: New plugin : ESP8266 Milight Hub


Hi @galinette,

Thank your for creating this awesome plugin, it works a lot better then the UDP method.

But I also have a problem with RGB=CCT bulbs, like @CV8R. When I'm setting a warm white color, the bulb flashed to warm white, and immediately after that it switches back to cold white.

Do you ...
by FunFair
Thursday 11 July 2019 20:10
Forum: dzVents
Topic: Update selector switch status with other switch, both ways [Solved]
Replies: 9
Views: 4145

Re: Update selector switch status with other switch, both ways [Solved]

Succes!!!! had to add an command .changed to check if the device was the trigger or not!
Now I have to clean up and add the other switches :)
Thanks for thinking with me!

return
{
active = true,
on =
{
devices =
{
'Harmony Hub', -- selector switch level names: 'Uit', 'Media', 'TV ...
by FunFair
Thursday 11 July 2019 18:30
Forum: dzVents
Topic: Update selector switch status with other switch, both ways [Solved]
Replies: 9
Views: 4145

Re: Update selector switch status with other switch, both ways [Solved]

Still no succes...
I don't understand why it is switching to 'uit' even though it should go to 'media'.
It's like the feedback coming from the harmony hub is too slow and therefore the script is still seeing the status 'uit'.

2019-07-11 18:20:27.104 Status: Harmony Hub: Changing activity
2019-07 ...
by FunFair
Thursday 11 July 2019 15:47
Forum: dzVents
Topic: Update selector switch status with other switch, both ways [Solved]
Replies: 9
Views: 4145

Re: Update selector switch status with other switch, both ways [Solved]

The result:

2019-07-11 15:45:09.684 (Logitech Harmony Hub) Lighting 2 ($Harmony_PowerOff)
2019-07-11 15:45:09.165 Status: Harmony Hub: Finished changing activity
2019-07-11 15:45:09.325 Status: dzVents: Info: Handling events for: "$Harmony_PowerOff", value: "Off"
2019-07-11 15:45:09.326 Status ...
by FunFair
Thursday 11 July 2019 10:46
Forum: dzVents
Topic: Update selector switch status with other switch, both ways [Solved]
Replies: 9
Views: 4145

Re: Update selector switch status with other switch, both ways [Solved]

I think it has something to do with the harmony hub switch not updating fast enough so the script retriggers.
by FunFair
Thursday 11 July 2019 9:14
Forum: dzVents
Topic: Update selector switch status with other switch, both ways [Solved]
Replies: 9
Views: 4145

Re: Update selector switch status with other switch, both ways [Solved]

Thanks. I tried it out. It does not keep switching on/off/on/etc. anymore, but now just keeps shutting off lol.

This is the log after pressing the remote. Same happens when I press the selector switch.
2019-07-11 09:11:16.025 Status: dzVents: Info: Handling events for: "$Harmony_PowerOff", value ...
by FunFair
Tuesday 09 July 2019 21:24
Forum: dzVents
Topic: Update selector switch status with other switch, both ways [Solved]
Replies: 9
Views: 4145

Re: Update selector switch status with other switch, both ways [Solved]

This is my LUA script that works fine.

commandArray = {}

--Uitschakelen
if (devicechanged['$Harmony_PowerOff'] == "On") and (otherdevices['Harmony Hub'] ~= "Uit") then
commandArray['Harmony Hub'] = 'Set Level: 0'
elseif (devicechanged['$Ping_Harmony_Hub'] == "On") and (otherdevices['$Harmony ...
by FunFair
Tuesday 09 July 2019 21:13
Forum: dzVents
Topic: Update selector switch status with other switch, both ways [Solved]
Replies: 9
Views: 4145

Update selector switch status with other switch, both ways [Solved]

Hi, I am using a logitech harmony hub which makes multiple switches in Domoticz.
I've made a LUA script that updates a selector switch when I press the remote and domoticz notices that the switch has changed.
And if I press the selector switch, it will send the corresponding switch command to the ...
by FunFair
Monday 08 July 2019 14:03
Forum: Python
Topic: Python Plugin: Chromecast
Replies: 206
Views: 53380

Re: Python Plugin: Chromecast


I just have released version 3.0.1.
You can now update the hardware without the need to restart domoticz.
Devices which are no longer needed are automatically deleted



How can I disable the automatic deletion function?
I have a Rfxcom setup and it will scan every single 433 Mhz signal in the ...
by FunFair
Thursday 13 June 2019 20:35
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1117
Views: 234014

Re: Python plugin: Presence detection from wireless router


The 255 error is to generic to really troubleshoot, but the python subproces doesn't provide much more :(

I'm running Merlin on my AC86u (primary router/ap) and have no such issues. Most of the time problems like this are caused by authentication issues or in rarer cases timeouts. Since the ...
by FunFair
Thursday 13 June 2019 19:36
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1117
Views: 234014

Re: Python plugin: Presence detection from wireless router


Could you try the command including the sshpass wrapper (full syntax is in the log on the 13th line) to make sure sshpass is installed and working? Otherwise my second guess would be a typo in the password(?) Unfortunately I could not get more informative logging from the subprocess routine.


I ...
by FunFair
Thursday 13 June 2019 15:02
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1117
Views: 234014

Re: Python plugin: Presence detection from wireless router

I have recently got an Asus AC66U router. I put the merlin firmware on it and enabled SSH.
First I used it as a dump AP and the script worked perfect. But now I've change my network setup and use the Asus router as main router. Since then it doesn't work anymore.

Domoticz log: (I've altered the mac ...
by FunFair
Monday 04 March 2019 11:20
Forum: Cameras
Topic: [SOLVED] Need Help: How to use a snapshot generated by avconv/ffmpeg
Replies: 4
Views: 4726

Re: [SOLVED] Need Help: How to use a snapshot generated by avconv/ffmpeg


Hello,
I did this using Apache with cgi support.
I've changed my cameras and don't use anymore this. As far as I remember, the cookbook is:
First to get the avconv snapshots in Apache, use symbolic link:
[/var/www/html]> ln -s .../AVCONV/MY_SNAPSHOT.jpg ./CGIProxy.fcgi.MY_SNAPSHOT.usr=MY_USER_NAME ...
by FunFair
Sunday 03 March 2019 16:32
Forum: Cameras
Topic: [SOLVED] Need Help: How to use a snapshot generated by avconv/ffmpeg
Replies: 4
Views: 4726

Re: [SOLVED] Re: Need Help: How to use a snapshot generated by avconv/ffmpeg


OK Solved. I've found the trick. You have to use a snapshot name corresponding to a fake cgi url with user/password


Did you create an ImageURL.cgi file or something that redirects to the image?
What does the cgi file contain to do this?

I can't really seem to find a good example of the ...
by FunFair
Sunday 16 December 2018 19:53
Forum: Other questions and discussions
Topic: Cheap 433MHz door sensor (with open and close)
Replies: 49
Views: 28209

Re: Cheap 433MHz door sensor (with open and close)

Just got 3 cheap door sensors from Banggood. 2 work, 1 is broken, the magnetic switch seems to be stuck.
And the scripts work great! Tnx!
by FunFair
Sunday 03 June 2018 8:13
Forum: Android
Topic: Domoticz app 2.0
Replies: 2382
Views: 678137

Re: Domoticz app 2.0

I've bought the full version of the app today and got notifications working with 2 android devices. I use it to alert me when the doorbell is rang. So I set up a notification sound that sounds like the chime of a doorbell.

Only thing is that now all notifications have the chime. Is it possible to ...
by FunFair
Saturday 02 June 2018 20:04
Forum: iOS
Topic: Domoticz App
Replies: 505
Views: 137783

Re: Domoticz App

Wrong topic sorry
by FunFair
Friday 04 May 2018 21:03
Forum: Heating/cooling
Topic: Controlling Toon [HACKED] from Domoticz
Replies: 426
Views: 130732

Re: Controlling Toon [HACKED] from Domoticz

I
I have a strange problem with my Toon P1 script.
The return amount is way too high, about 1.8.10^16.
When i look at the script, it gives nothing, which is right.

pi@raspberrypi:~/domoticz/scripts/php $ ./p1_meter_data_json.php
Request for FROM date: 03-05-2018
Now: 2018-05-03 15:06:46 ...
by FunFair
Saturday 14 April 2018 6:53
Forum: Heating/cooling
Topic: Controlling Toon [HACKED] from Domoticz
Replies: 426
Views: 130732

Re: Controlling Toon [HACKED] from Domoticz


Hi,

I am have a secondhand toon at home. And when I boot the device I notice I have to activate it. I think the Toon was set to factory defaults. I can not do anything with it now.

Will this script unlock/activate my Toon as well?


This script is for rooted toons. You can't activate it with ...