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 ...
Search found 34 matches
- Monday 18 October 2021 19:02
- Forum: Node-RED
- Topic: Combine 2 (or more) values for TTS to SONOS
- Replies: 0
- Views: 2958
- Sunday 17 October 2021 21:28
- Forum: PHP and all others
- Topic: NodeRed Sync after reboot and exclude P1 Meter
- Replies: 0
- Views: 2588
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 ...
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 ...
- Thursday 13 May 2021 13:40
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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.
- Thursday 07 January 2021 15:46
- Forum: Python
- Topic: Pylips-Control Philips TVs (2015+) and Ambilight (+ Hue)(+ MQTT support!)
- Replies: 1
- Views: 1217
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 ...
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 ...
- Monday 04 January 2021 16:13
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
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 ...
- Friday 03 April 2020 22:55
- Forum: Show your projects
- Topic: Bear Hunt.
- Replies: 5
- Views: 973
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 ...
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 ...
- Thursday 02 April 2020 18:29
- Forum: Show your projects
- Topic: Bear Hunt.
- Replies: 5
- Views: 973
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 ...
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 ...
- Thursday 05 March 2020 13:56
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
*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 ...
- Monday 02 March 2020 9:37
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
With this curl reqeust you can get all the device info from the command line (somewhere in the response look for ...
- Sunday 01 March 2020 17:54
- Forum: dzVents
- Topic: Run dzVents script manually [Solved]
- Replies: 2
- Views: 1089
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 ...
{
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 ...
- Saturday 29 February 2020 17:20
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
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 ...
- Saturday 29 February 2020 16:19
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
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 ...
- Friday 28 February 2020 11:57
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
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 ...
- Tuesday 25 February 2020 17:57
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
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 ...
- Tuesday 25 February 2020 11:17
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
!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 ...
- Monday 24 February 2020 20:33
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
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 ...
- Sunday 23 February 2020 18:40
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
-- 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 ...
- Wednesday 19 February 2020 11:38
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 
- Tuesday 18 February 2020 19:37
- Forum: dzVents
- Topic: Samsung Washmachine read status from json "SOLVED" [Solved]
- Replies: 75
- Views: 21462
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 ...
For the wm_status i use .checkFirst() so the log of the divices show only state ...
- Monday 27 January 2020 16:22
- Forum: Zigbee
- Topic: ALDI / Muller-Light / Tint Smart Switch.
- Replies: 1
- Views: 1583
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 ...
They are compatibel with HUE and KaKu.
After reset the unit i can connect them to the ICS2000 (Zigbee Light On/Off ...