Search found 34 matches

by Tjeerd13
Monday 18 October 2021 19:02
Forum: Node-RED
Topic: Combine 2 (or more) values for TTS to SONOS
Replies: 0
Views: 1210

Combine 2 (or more) values for TTS to SONOS

Hello, I'm trying to get TTS to sonos every time a switch change on/off it's working ...the problem is i get a short delay between Switch name and the State on/off i would like to combine 2 messeage's I get the value from a http request node: http://192.168.10.17:8080/json.htm?type=devices&rid ...
by Tjeerd13
Sunday 17 October 2021 21:28
Forum: PHP and all others
Topic: NodeRed Sync after reboot and exclude P1 Meter
Replies: 0
Views: 964

NodeRed Sync after reboot and exclude P1 Meter

Hi All, I have 2 questions about NodeRed. I'm using it with MQTT and Google Assistant and after a reboot/restart/save all the statussen are not in sync. Is there somothing i can do about that? ( I tought that i read there was some script only can't find it again ) Is it possible to block a device ...
by Tjeerd13
Thursday 13 May 2021 13:40
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "SOLVED" [Solved]

@dizzeenl did you test the script when the washer/dryer was running? It was a whyle ago but i believe that the data is only send when the machine is running.
by Tjeerd13
Thursday 07 January 2021 15:46
Forum: Python
Topic: Pylips-Control Philips TVs (2015+) and Ambilight (+ Hue)(+ MQTT support!)
Replies: 1
Views: 1103

Re: Pylips-Control Philips TVs (2015+) and Ambilight (+ Hue)(+ MQTT support!)

Hello, Did you found a solution for this? I can't get it to work. I created a script in the scripts map with HUEon.sh (with and without exit 0 but i can't get it working. Uses some variations. Writing to dev0 and more. The script is activated from a script// comand when switch is turndon. #!/bin/sh ...
by Tjeerd13
Monday 04 January 2021 16:13
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "SOLVED" [Solved]

Version 2.0 of the working script: Some lite changes: WasherMode changed to WaherCycle (WHY Samsung!?) Typo's -- assumpitions for Samsung Wasmachine Script V2.0 04-Jan-2021 --[[ Dummy textdevices WM Programma, WM Klaar om, WM aan het, WM Toerental, WM Resterend, WM Temperatuus. Dummy on/of switch WM ...
by Tjeerd13
Friday 03 April 2020 22:55
Forum: Show your projects
Topic: Bear Hunt.
Replies: 5
Views: 861

Re: Bear Hunt.

Cool project, very well done and original! At what moment do you make the picture. Right away? I also do these boys stepping on the button multiple times. How do you handle that? Is the video behind the window only playing when the button is pushed? The picture is taken directly. It take about two ...
by Tjeerd13
Thursday 02 April 2020 18:29
Forum: Show your projects
Topic: Bear Hunt.
Replies: 5
Views: 861

Bear Hunt.

Hello, I made a litle project for the Bear Hunt. https://www.bbc.com/news/world-52108765 What i used. Excisting domoticz installation with RFXCOM - RFXtrx433 USB 433.92MHz (Kaku) Garden lights An KaKu transmitter https://www.klikaanklikuit.nl/nl/producten/deurbellen/acdb-7000b-drukknopzender.html ...
by Tjeerd13
Thursday 05 March 2020 13:56
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "SOLVED" [Solved]

Updated code V1.1 *Typo row:93 weightSensing *Row:182 Prevent error log if wm_percent.percentage = nil om some unknown reaseon -- assumpitions for Samsung Wasmachine Script V1.1 --[[ Dummy textdevices WM Programma, WM Klaar om, WM aan het, WM Toerental, WM Resterend, WM Temperatuus. Dummy on/of ...
by Tjeerd13
Monday 02 March 2020 9:37
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "SOLVED" [Solved]

Postman https://www.postman.com/product/api-client is a program you can download to visulize and request API request. Not needed but it gives me a lot of info from the API requests. With this curl reqeust you can get all the device info from the command line (somewhere in the response look for ...
by Tjeerd13
Sunday 01 March 2020 17:54
Forum: dzVents
Topic: Run dzVents script manually [Solved]
Replies: 2
Views: 1004

Re: Run dzVents script manually [Solved]

I use this for manual activate the switch with device idx 50 { on = { timer = { 'every minute', -- just an example to trigger the request }, devices = { 50, -- Just an on Switch to activated the script manualy for testing. }, httpResponses = { scriptVar, -- must match with the callback passed to the ...
by Tjeerd13
Saturday 29 February 2020 17:20
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "SOLVED" [Solved]

That Worked! How can i the item below get to work? Tried with en without percentage. Somtimes i get a Tabel Value error or a Nill Value local WM_PERCENT = 'WM Percentage' local wm_percent = dz.devices(WM_PERCENT) dz.log('Percentage WM Percentage = ' .. dz.progressPercentage.wm_percent, dz.LOG_INFO)
by Tjeerd13
Saturday 29 February 2020 16:19
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "SOLVED" [Solved]

I tried something like that, but thats not working it looks like I do not get the correct or any value of the dz device: WM Percentage. With your script i get: 2020-02-29 15:49:01.079 Error: dzVents: Error: (3.0.0) wasmachine_JSON: An error occurred when calling event handler Samsung_v4 2020-02-29 ...
by Tjeerd13
Friday 28 February 2020 11:57
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "Working so far" trouble getting json data query [Solved]

With a lot of help from Waaren (THANKS FOR THAT ! !) below is the working script. With a litle ToDo list. -- assumpitions for Samsung Wasmachine Script -- Dummy textdevices WM Programma, WM Klaar om, WM aan het, WM Toerental, WM Resterend, WM Temperatuus. -- Dummy on/of switch WM Status -- Dummy ...
by Tjeerd13
Tuesday 25 February 2020 17:57
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "Working so far" trouble getting json data query [Solved]

Thanks so far, I can't find out how to get the remainingTime: My output of the data section is: 2020-02-25 17:43:26.267 ------------ main.data.value 2020-02-25 17:43:26.267 - 2020-02-25 17:43:26.267 2020-02-25 17:43:26.269 Status: dzVents: > payload: 2020-02-25 17:43:26.269 Status: dzVents: > x.com ...
by Tjeerd13
Tuesday 25 February 2020 11:17
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "Working so far" trouble getting json data query [Solved]

Below is the return of the openURL call when the wasmachine is on: !Info: {"main":{"washerAutoSoftener":{"value":null},"mndt":{"value":null},"mnfv":{"value":"0.1.0"},"washerAddwashAlarm":{"value":null},"mnhw":{"value":"1.0"},"data":{"value":"{\"payload\":{\"x.com.samsung.da.state\":\"Run\",\"x.com ...
by Tjeerd13
Monday 24 February 2020 20:33
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "Working so far" trouble getting json data query [Solved]

From stackoverflow i found out that the json string is a weird construction: a serialized JSON inside a normal JSON. This means i have to invoke deserialization twice: local json = require"json" -- the JSON library local outer = json.decode(your_JSON_string) local rt = outer.main local inner = json ...
by Tjeerd13
Sunday 23 February 2020 18:40
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "NOOB Question" [Solved]

After some modification of the code from Waaren its working: -- assumpitions for Samsung Wasmachine Script -- Dummy textdevices WM Programma, WM Klaar om, WM aan het, WM Toerental, WM Resterend, WM Temperatuus. -- Dummy on/of switch WM Status -- API key from https://developer.samsung.com/smartthings ...
by Tjeerd13
Wednesday 19 February 2020 11:38
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Re: Samsung Washmachine read status from json "NOOB Quistion" [Solved]

Thanks all for the suggestions en code. I will try them in the evening.. I gues more questions are comming :)
by Tjeerd13
Tuesday 18 February 2020 19:37
Forum: dzVents
Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
Replies: 70
Views: 13292

Samsung Washmachine read status from json "SOLVED" [Solved]

This is my first dzVents script to get the status from the samsung wasmachine (https://developer.samsung.com/smartthings) . I get most of the Json data in to virtual switches. But there are some tings i cant find out. For the wm_status i use .checkFirst() so the log of the divices show only state ...
by Tjeerd13
Monday 27 January 2020 16:22
Forum: Zigbee
Topic: ALDI / Muller-Light / Tint Smart Switch.
Replies: 1
Views: 1407

ALDI / Muller-Light / Tint Smart Switch.

Today i bought 2 Muller Smart Switches from the Aldi in the Netherlands. https://www.aldi.nl/onze-aanbiedingen/vanaf-zaterdag-25-01/smart-light-tint-smart-switch-7546.article.html . They are compatibel with HUE and KaKu. After reset the unit i can connect them to the ICS2000 (Zigbee Light On/Off ...