[ { "id": "5cc6ca02.0e2a64", "type": "tab", "label": "Nodes", "disabled": false, "info": "" }, { "id": "5a2248b8.76ba18", "type": "tab", "label": "Test", "disabled": false, "info": "https://alexa.amazon.it/spa/index.html#skills/beta/amzn1.ask.skill.a1319900-a900-47c2-bdb4-2f5e4ca89cae/?ref=skill_dsk_skb_ys\n\nhttps://developer.amazon.com/en-US/docs/alexa/smarthome/steps-to-build-a-smart-home-skill.html\n\nhttps://flows.nodered.org/flow/5a4d0fd9e3332ab6ecb56bbd51ed77f8\n\nhttps://www.saggiamente.com/2020/01/come-usare-home-assistant-con-alexa-gratuitamente-metodo-aggiornato-senza-nabucasa-e-token/\n\nhttps://developer.amazon.com/en-US/docs/alexa/account-linking/account-linking-for-sh-and-other.html\n\nhttps://developer.amazon.com/en-US/docs/alexa/account-linking/add-account-linking-logic-smart-home.html\n\nhttps://developer.amazon.com/en-US/docs/alexa/smarthome/understand-the-smart-home-skill-api.html\n\nhttps://www.home-assistant.io/integrations/alexa.smart_home/\n\nhttps://developer.amazon.com/en-US/docs/alexa/device-apis/message-guide.html\n\nhttps://developer.amazon.com/en-US/docs/alexa/custom-skills/host-a-custom-skill-as-a-web-service.html\n\nhttps://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-discovery.html\n\nhttps://developer.amazon.com/en-US/docs/alexa/custom-skills/host-a-custom-skill-as-a-web-service.html#verify-request-sent-by-alexa\n\nhttps://developer.amazon.com/en-US/docs/alexa/custom-skills/host-a-custom-skill-as-a-web-service.html#manually-verify-request-sent-by-alexa\n\nhttps://github.com/alexa/alexa-skills-kit-sdk-for-nodejs\n\nhttps://developer.amazon.com/en-US/docs/alexa/account-linking/understand-account-linking.html\n\nhttps://developer.amazon.com/docs/login-with-amazon/register-web.html\n\nhttps://developer.amazon.com/docs/login-with-amazon/register-web.html#create-a-new-security-profile\n\nhttps://flows.nodered.org/flow/195773d3b493d81c9bf012f64da02ea3\n\nhttps://developer.amazon.com/docs/login-with-amazon/web-docs.html\n\npassport-amazon\ncognito-express\n\nhttps://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-authorization.html#directives\n\nhttps://www.home-assistant.io/integrations/alexa.smart_home/\n\nhttps://developer.amazon.com/en-US/docs/alexa/account-linking/configure-authorization-code-grant.html\n" }, { "id": "8d57ae76.d4c1", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "16c544df.8a6b4b", "4f7e7853.45d1d8", "a74be276.fa0ca", "a2b4b892.275808", "c1e150d9.a7c2b", "22dc3d7f.d2b452" ], "x": 414, "y": 979, "w": 362, "h": 242 }, { "id": "10ca3f12.68f441", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "8054833d.35339", "6e77b600.a2f9f8", "1c967ac1.b40265", "815e9477.295ff8", "5def2bf1.11e864", "55a003b6.e4f36c" ], "x": 894, "y": 1619, "w": 262, "h": 242 }, { "id": "9683fd27.1479f", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "175bce32.ed9362", "2e64ac83.6c7244", "db842796.00b868", "a61ea607.17e338", "bfbaf89a.aa5688", "6c00480a.b8b818" ], "x": 894, "y": 1359, "w": 262, "h": 242 }, { "id": "d9c6beae.d3352", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "6bd6da53.ff5ed4", "f02eef9d.59fa5", "8d816526.d58108", "80e05795.817cb8" ], "x": 794, "y": 1179, "w": 362, "h": 162 }, { "id": "3ef7e7ff.058988", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "6c7c2d6a.7730a4", "d2bc142f.d3f1f8", "b40e27a.f80c3d8", "54ae6dd8.50c774" ], "x": 834, "y": 999, "w": 322, "h": 162 }, { "id": "ce88feac.b7163", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "a892bda1.3101d", "d34611ba.1d20b", "cf4dfb7b.f35ca8", "1ecf31f0.24edfe" ], "x": 854, "y": 819, "w": 302, "h": 162 }, { "id": "bfa121ae.6942b", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "ec76ffd4.f31f9", "2e8ab8f2.57d388", "fe0207cc.71b9e8", "848df9f0.cdec68" ], "x": 854, "y": 539, "w": 282, "h": 162 }, { "id": "2427d842.422858", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "5afc7e5.655468", "14103df2.b76e12", "90e497ed.6da6c8", "3951b16c.54e59e", "6a3057c5.262958", "9db4695e.b998a8", "1d5215dd.918aca", "9159c2ce.8fd48", "ca3f1d72.35a3b", "d305a806.334a98" ], "x": 694, "y": 119, "w": 442, "h": 402 }, { "id": "8624f632.e73fc8", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "d11ae58c.f18268", "c8c6df8c.fa17b", "c5687d55.80e6d", "a1b3b978.0f6078" ], "x": 454, "y": 1879, "w": 322, "h": 162 }, { "id": "7956d398.a7c96c", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "7b40b80.dcbf448", "3c9b7fa6.6357f", "5bebba2.0cf7c44", "48dd22a0.4d9f9c" ], "x": 434, "y": 1699, "w": 342, "h": 162 }, { "id": "50c2ac36.9ca864", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "2e31a003.c70b2", "64ba3f5c.8b689", "a4ce7d38.9653c", "e2bd4541.708128" ], "x": 454, "y": 1419, "w": 322, "h": 162 }, { "id": "ba8a1a7f.127558", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "73ab523a.84b5bc", "bfa3967b.84f308", "1c5be69d.0e7c59", "8baf65cd.5d99d8" ], "x": 494, "y": 1239, "w": 282, "h": 162 }, { "id": "4d499e52.368c9", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "27f5ad34.1f4312", "80f7a8c7.9e82f8", "b3febad2.8add98" ], "x": 54, "y": 1139, "w": 342, "h": 122 }, { "id": "4e712e28.25f18", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "c359c45b.db9df8", "4875dfe1.7f992", "5ccc13e4.e9e5dc", "d8a877bb.329d08", "6b7972c8.d196ac", "520f57ab.bd85c8", "3bdd2b87.908d34", "a018dd66.8e2bb", "44750f6a.f113b", "d46b9113.9e008", "d0c38845.60eff8" ], "x": 414, "y": 519, "w": 362, "h": 442 }, { "id": "c207b51f.ead0b8", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "8c5aa077.138ed" ], "x": 894, "y": 1879, "w": 272, "h": 82 }, { "id": "33861595.3c29fa", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "c5e54dcd.6550f" ], "x": 954, "y": 719, "w": 192, "h": 82 }, { "id": "2fffe9b8.4bdf66", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "3c2a9ba6.ff33d4" ], "x": 914, "y": 19, "w": 212, "h": 82 }, { "id": "b72ec522.442848", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "fcbf55f0.6b3148" ], "x": 534, "y": 1599, "w": 232, "h": 82 }, { "id": "9925a165.7480f", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "3baa9e9c1a44b53f", "92fafdddd4cf37f3", "c382bf21aad8eb9f", "b9dbecec.b3ed9", "c3aaee92.2389e" ], "x": 414, "y": 299, "w": 282, "h": 202 }, { "id": "3c1a3490.a4b1ec", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "cab4aa22.443468", "9de9977a.487a18", "306f0d3e.f70672", "f295d4a2.cf20b8" ], "x": 74, "y": 79, "w": 322, "h": 162 }, { "id": "66de66bc.e271f8", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "adb9c6e69e992eb0", "9273677f.aee948", "7fa3b08c.9e77c" ], "x": 54, "y": 259, "w": 342, "h": 122 }, { "id": "11760387.e4128c", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "6f8125ef.9c0dac", "83f9395b.2243d8", "dff4fc93.be06d", "623e28c9.5d9608" ], "x": 94, "y": 399, "w": 302, "h": 162 }, { "id": "5a97d6a0.323758", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "cde8bab8.9b5aa8", "29adead8.48e6e6", "ec67799c.060658", "39a9704.bd83d9" ], "x": 114, "y": 579, "w": 282, "h": 162 }, { "id": "ab06b7eb.c2e568", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "11f70d37.12c223", "77d14032.a2922", "c929af2f.4716", "f3cb9e33.f6772" ], "x": 34, "y": 759, "w": 362, "h": 162 }, { "id": "80581700.02f2e8", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "36726572.107d0a", "180c111e.e99b1f", "68dda98.e3b5158", "beb9ec77.e6bd5" ], "x": 94, "y": 959, "w": 302, "h": 162 }, { "id": "8034f25a.0d655", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "e9c54ab7.9b2768", "dd0e809548f57a03", "c6997013.da159" ], "x": 14, "y": 1279, "w": 382, "h": 122 }, { "id": "3df38123.9cc23e", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "c552d8fc.9b6878", "7b4384a6.a7db5c", "ead38007.67e8c", "707b859a.142d0c" ], "x": 94, "y": 1419, "w": 302, "h": 162 }, { "id": "4b64a00a.bfee9", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "60f724b3.1d89ac", "41fcd33a.96a9bc", "c4072795.1d1e98", "9ccad05e.dea06" ], "x": 94, "y": 1599, "w": 302, "h": 162 }, { "id": "dac59ee3.d92c3", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "eda80bce.9fab18" ], "x": 214, "y": 1779, "w": 172, "h": 82 }, { "id": "cb4e15e4.1abd98", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "a086ec2c.a8db8", "779d74bb.18b6fc", "ee82d7e6.758628", "b1b234c6.a0c1c8" ], "x": 74, "y": 1879, "w": 322, "h": 162 }, { "id": "5cdd40a1.b5c8a", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "2879d69c.f96e8a", "55feda92.2430b4", "83bb6486.85fe28", "e90df037.5f366" ], "x": 414, "y": 19, "w": 282, "h": 162 }, { "id": "e9d1e23f.80d5e", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "a99493.299aeb7" ], "x": 454, "y": 199, "w": 232, "h": 82 }, { "id": "9f32eb8f.554ab8", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "d8f22efa.dde0a", "7cae27d9.a5a6a8", "e061e9ed.eb06c8", "fd2d1fc9.a6156", "480e2450.ff5bec", "eef7ac27.8e6af" ], "x": 1594, "y": 19, "w": 452, "h": 242 }, { "id": "3851fb5.3464404", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "12c1a902.fc37c7", "3dc2d311.e5477c", "82c928de.3dbd58", "d8a70c1d.4c9bf" ], "x": 1614, "y": 279, "w": 432, "h": 202 }, { "id": "3462e0b3.48dbe", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "58c096a.8fa0d68", "a1e3c3f6.df955", "f94cd64.0beae28", "5494439c.affb9c" ], "x": 1234, "y": 919, "w": 792, "h": 142 }, { "id": "2d78ec69.717034", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "5e6bcc5a.b27b54", "34e98b0d.beec74", "d1ef2e81.e363", "29d370ff.8bfc7", "12209621.5cc4ca", "ddec98b.2cf5768" ], "x": 1174, "y": 19, "w": 342, "h": 242 }, { "id": "4a778fba.2b707", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "2c9c80ef.0a1c6", "8c0af2ae.959cd", "e477f87b.40c7b8", "5b9f25cc.9a899c" ], "x": 1154, "y": 279, "w": 362, "h": 162 }, { "id": "6ab2861.3f57678", "type": "group", "z": "5cc6ca02.0e2a64", "style": { "stroke": "#999999", "stroke-opacity": "1", "fill": "none", "fill-opacity": "1", "label": true, "label-position": "nw", "color": "#a4a4a4" }, "nodes": [ "3f817392.76794c", "c4250ffa.5a6c1", "2dee37ad.667e08", "9f401aed.776c88" ], "x": 1194, "y": 459, "w": 322, "h": 162 }, { "id": "a2728c12.4058f", "type": "alexa-adapter", "name": "Alexa", "http_path": "alexa", "login_with_amazon": true, "event_endpoint": "http://127.0.0.1:1880/alexa/events", "scope": "smart_home", "emails": [ "claudio@gmail.com" ], "msg_check": false, "verbose": true, "port": "" }, { "id": "58c096a.8fa0d68", "type": "alexa-device", "z": "5cc6ca02.0e2a64", "g": "3462e0b3.48dbe", "alexa": "a2728c12.4058f", "name": "Multi", "display_categories": [ "CAMERA" ], "topic": "multi", "a_inputs": [ "AUX 1", "AUX 2", "AUX 3", "AUX 4", "AUX 5", "AUX 6", "AUX 7", "BLURAY", "CABLE", "CD", "COAX 1", "COAX 2", "COMPOSITE 1", "DVD", "GAME", "HD RADIO", "HDMI 1", "HDMI 2", "HDMI 3", "HDMI 4", "HDMI 5", "HDMI 6", "HDMI 7", "HDMI 8", "HDMI 9", "HDMI 10", "HDMI ARC", "INPUT 1", "INPUT 2", "INPUT 3", "INPUT 4", "INPUT 5", "INPUT 6", "INPUT 7", "INPUT 8", "INPUT 9", "INPUT 10", "IPOD", "LINE 1", "LINE 2", "LINE 3", "LINE 4", "LINE 5", "LINE 6", "LINE 7", "MEDIA PLAYER", "OPTICAL 1", "OPTICAL 2", "PHONO", "PLAYSTATION", "PLAYSTATION 3", "PLAYSTATION 4", "SATELLITE", "SMARTCAST", "TUNER", "TV", "USB DAC", "VIDEO 1", "VIDEO 2", "VIDEO 3", "XBOX" ], "i_automation_management": true, "i_brightness_controller": true, "i_camera_stream_controller": true, "i_channel_controller": true, "i_color_controller": true, "i_color_temperature_controller": true, "i_contact_sensor": true, "i_doorbell_event_source": true, "i_endpoint_health": true, "i_equalizer_controller": true, "i_device_usage_estimation": true, "i_event_detection_sensor": true, "i_input_controller": true, "i_inventory_level_sensor": true, "i_inventory_usage_sensor": true, "i_keypad_controller": true, "a_kc_keys": [ "UP", "DOWN", "LEFT", "RIGHT", "SELECT", "PAGE_UP", "PAGE_DOWN", "PAGE_LEFT", "PAGE_RIGHT", "INFO", "MORE" ], "i_lock_controller": true, "i_media_metadata": true, "i_device_usage_meter": true, "i_mode_controller": true, "i_motion_sensor": true, "i_percentage_controller": true, "i_playback_controller": true, "i_playback_state_reporter": true, "a_playback_modes": [ "Play", "Pause", "Stop", "StartOver", "Previous", "Next", "Rewind", "FastForward" ], "i_power_controller": true, "i_power_level_controller": true, "i_range_controller": true, "i_rtc_session_controller": false, "i_scene_controller": true, "i_security_panel_controller": true, "i_speaker": true, "i_step_speaker": true, "i_timehold_controller": false, "allow_remote_resume": false, "i_temperature_sensor": true, "i_thermostat_controller": true, "a_target_setpoint": true, "a_lower_setpoint": true, "a_upper_setpoint": true, "a_modes": [ "AUTO", "COOL", "HEAT", "ECO", "OFF" ], "a_supports_scheduling": true, "i_thermostat_controller_hvac_components": true, "i_toggle_controller": true, "i_wake_on_lan_controller": true, "camera_stream_configurations": [ { "p": [ "HLS" ], "t": [ "NONE" ], "v": [ "H264", "MPEG2", "MJPEG", "JPG" ], "a": [ "G711", "AAC", "NONE" ], "r": [ [ "1024", "768" ], [ "1920", "1080" ] ] } ], "bands": [ "BASS", "MIDRANGE", "TREBLE" ], "modes": [ "MOVIE", "MUSIC", "NIGHT", "SPORT", "TV" ], "band_range_min": "-6", "band_range_max": "6", "standby_wattage": "1", "maximum_wattage": "10", "arm_state": [ "DISARMED", "ARMED_STAY", "ARMED_NIGHT", "ARMED_AWAY" ], "alarms": [ "burglaryAlarm", "carbonMonoxideAlarm", "fireAlarm", "waterAlarm" ], "pin_code": "1234", "exit_delay": "10", "mac_addresses": [ "00-50-FC-A0-67-2C", "00-08-74-4C-7F-1D" ], "primary_heater_operation": "3", "auxiliary_heater_operation": true, "cooler_operation": "2", "fan_operation": "1", "electricity_measuring_method": "MEASURED", "electricity_unit": "MILLIWATT_HOUR", "electricity_default_resolution": "3600", "natural_gas_measuring_method": "ESTIMATED", "natural_gas_unit": "CUBIC_FOOT", "natural_gas_default_resolution": "7200", "toggles": [ { "instance": "GarbageCan.Lid", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Garbage can lid\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Tapa del bote de basura\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Couvercle de poubelle\",\"locale\":\"fr-CA\"}}]}", "semantics": "{\"actionMappings\":[{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Close\"],\"directive\":{\"name\":\"TurnOff\",\"payload\":{}}},{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Open\"],\"directive\":{\"name\":\"TurnOn\",\"payload\":{}}}],\"stateMappings\":[{\"@type\":\"StatesToValue\",\"states\":[\"Alexa.States.Closed\"],\"value\":\"OFF\"},{\"@type\":\"StatesToValue\",\"states\":[\"Alexa.States.Open\"],\"value\":\"ON\"}]}" }, { "instance": "Oven.OvenLight", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Oven light\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Luz del horno\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Lumière du four\",\"locale\":\"fr-CA\"}}]}", "semantics": "" } ], "ranges": [ { "instance": "Fan.Speed", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Setting.FanSpeed\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Speed\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Velocidad\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Vitesse\",\"locale\":\"fr-CA\"}}]}", "semantics": "", "presets": "[{\"rangeValue\":10,\"presetResources\":{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Value.Maximum\"}},{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Value.High\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Highest\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Fast\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Alta\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Élevée\",\"locale\":\"fr-CA\"}}]}},{\"rangeValue\":1,\"presetResources\":{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Value.Minimum\"}},{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Value.Low\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Lowest\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Slow\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Baja\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Faible\",\"locale\":\"fr-CA\"}}]}}]", "min": "1", "max": "10", "precision": "1" }, { "instance": "Blind.Lift", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Setting.Opening\"}}]}", "semantics": "", "presets": "{\"actionMappings\":[{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Close\"],\"directive\":{\"name\":\"SetRangeValue\",\"payload\":{\"rangeValue\":0}}},{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Open\"],\"directive\":{\"name\":\"SetRangeValue\",\"payload\":{\"rangeValue\":100}}},{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Lower\"],\"directive\":{\"name\":\"AdjustRangeValue\",\"payload\":{\"rangeValueDelta\":-10,\"rangeValueDeltaDefault\":false}}},{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Raise\"],\"directive\":{\"name\":\"AdjustRangeValue\",\"payload\":{\"rangeValueDelta\":10,\"rangeValueDeltaDefault\":false}}}],\"stateMappings\":[{\"@type\":\"StatesToValue\",\"states\":[\"Alexa.States.Closed\"],\"value\":0},{\"@type\":\"StatesToRange\",\"states\":[\"Alexa.States.Open\"],\"range\":{\"minimumValue\":1,\"maximumValue\":100}}]}", "min": "0", "max": "100", "precision": "1" } ], "c_modes": [ { "instance": "Washer.WashCycle", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Setting.WashCycle\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Cycle\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Ciclo de lavado\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Cycle de lavage\",\"locale\":\"fr-CA\"}}]}", "semantics": "", "ordered": true, "supported_modes": "[{\"value\":\"WashCycle.Normal\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Normal\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Cottons\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Ciclo normal\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Cycle délicat\",\"locale\":\"fr-CA\"}}]}},{\"value\":\"WashCycle.Delicates\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Value.Delicate\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Delicates\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Knits\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Ciclo delicado\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Cycle délicat\",\"locale\":\"fr-CA\"}}]}}]" }, { "instance": "Washer.CurrentWashCycle", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Current wash cycle\",\"locale\":\"en-US\"}}]}", "semantics": "", "ordered": true, "supported_modes": "[{\"value\":\"CurrentWashCycle.Wash\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Wash\",\"locale\":\"en-US\"}}]}},{\"value\":\"CurrentWashCycle.Rinse\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Rinse\",\"locale\":\"en-US\"}}]}},{\"value\":\"CurrentWashCycle.Spin\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Spin\",\"locale\":\"en-US\"}}]}}]" }, { "instance": "Washer.WashTemperature", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Setting.WaterTemperature\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Wash temperature\",\"locale\":\"en-US\"}}]}", "semantics": "", "ordered": false, "supported_modes": "[{\"value\":\"WashTemperature.Cold\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Cold\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Cool\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Fría\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Froide\",\"locale\":\"fr-CA\"}}]}},{\"value\":\"WashTemperature.Warm\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Warm\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Tibia\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Tiède\",\"locale\":\"fr-CA\"}}]}},{\"value\":\"WashTemperature.Hot\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Hot\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Caliente\",\"locale\":\"es-MX\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Chaude\",\"locale\":\"fr-CA\"}}]}}]" }, { "instance": "Blinds.Position", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Setting.Opening\"}}]}", "semantics": "{\"actionMappings\":[{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Close\",\"Alexa.Actions.Lower\"],\"directive\":{\"name\":\"SetMode\",\"payload\":{\"mode\":\"Position.Down\"}}},{\"@type\":\"ActionsToDirective\",\"actions\":[\"Alexa.Actions.Open\",\"Alexa.Actions.Raise\"],\"directive\":{\"name\":\"SetMode\",\"payload\":{\"mode\":\"Position.Up\"}}}],\"stateMappings\":[{\"@type\":\"StatesToValue\",\"states\":[\"Alexa.States.Closed\"],\"value\":\"Position.Down\"},{\"@type\":\"StatesToValue\",\"states\":[\"Alexa.States.Open\"],\"value\":\"Position.Up\"}]}", "ordered": false, "supported_modes": "[{\"value\":\"Position.Up\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Value.Open\"}}]}},{\"value\":\"Position.Down\",\"modeResources\":{\"friendlyNames\":[{\"@type\":\"asset\",\"value\":{\"assetId\":\"Alexa.Value.Close\"}}]}}]" } ], "inventory_usage_sensors": [ { "instance": "Sensor.CoffeePod", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Coffee pods\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Capsules de café\",\"locale\":\"fr-FR\"}}]}", "measurement": "{\"@type\":\"Count\"}", "replenishment": "{\"@type\":\"DashReplenishmentId\",\"value\":\"\"}" }, { "instance": "3DPrinter.Filament", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Filament\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Filamento\",\"locale\":\"it-IT\"}}]}", "measurement": "{\"@type\":\"Weight\",\"unit\":\"GRAM\"}", "replenishment": "" } ], "inventory_level_sensors": [ { "instance": "InkSensor.Cyan", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Cyan ink\",\"locale\":\"en-US\"}},{\"@type\":\"text\",\"value\":{\"text\":\"Encre cyan\",\"locale\":\"fr-FR\"}}]}", "measurement": "{\"@type\":\"Volume\",\"unit\":\"MILLILITER\"}", "replenishment": "{\"@type\":\"DashReplenishmentId\",\"value\":\"\"}" }, { "instance": "PaperSensor.FrontTray", "capability_resources": "{\"friendlyNames\":[{\"@type\":\"text\",\"value\":{\"text\":\"Front tray\",\"locale\":\"en-US\"}}]}", "measurement": "{\"@type\":\"Count\"}", "replenishment": "{\"@type\":\"DashReplenishmentId\",\"value\":\"\"}" } ], "x": 1390, "y": 960, "wires": [ [ "21a10626.9a490a", "a1e3c3f6.df955" ] ] }, { "id": "21a10626.9a490a", "type": "debug", "z": "5cc6ca02.0e2a64", "name": "Output", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 2130, "y": 960, "wires": [] }, { "id": "c359c45b.db9df8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "reportState", "payload": "reportState", "payloadType": "str", "x": 560, "y": 720, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "4875dfe1.7f992", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "SetMedia 1", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "SetMedia", "payload": "{\"id\":\"1\",\"cause\":\"cause of media creation\",\"recording\":{\"name\":\"Optional video name\",\"startTime\":\"2018-06-29T19:20:41Z\",\"endTime\":\"2018-06-29T19:21:41Z\",\"videoCodec\":\"H264\",\"audioCodec\":\"AAC\",\"uri\":{\"value\":\"https://somedomain/somevideo.mp4\",\"expireTime\":\"2018-06-29T19:31:41Z\"},\"thumbnailUri\":{\"value\":\"https://somedomain/someimage.png\",\"expireTime\":\"2018-06-29T19:31:41Z\"}}}", "payloadType": "json", "x": 590, "y": 640, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "5ccc13e4.e9e5dc", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "SetMedia 2", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "SetMedia", "payload": "{\"id\":\"2\",\"cause\":\"cause of media creation\",\"recording\":{\"name\":\"Optional video name\",\"startTime\":\"2018-06-29T19:20:41Z\",\"endTime\":\"2018-06-29T19:21:41Z\",\"videoCodec\":\"H264\",\"audioCodec\":\"AAC\",\"uri\":{\"value\":\"https://somedomain/somevideo.mp4\",\"expireTime\":\"2018-06-29T19:31:41Z\"},\"thumbnailUri\":{\"value\":\"https://somedomain/someimage.png\",\"expireTime\":\"2018-06-29T19:31:41Z\"}}}", "payloadType": "json", "x": 590, "y": 680, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "d8a877bb.329d08", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "AddOrUpdateMedia 1", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "AddOrUpdateMedia", "payload": "{\"id\":\"1\",\"cause\":\"cause of media creation\",\"recording\":{\"name\":\"Optional video name\",\"startTime\":\"2018-06-29T19:20:41Z\",\"endTime\":\"2018-06-29T19:21:41Z\",\"videoCodec\":\"H264\",\"audioCodec\":\"AAC\",\"uri\":{\"value\":\"https://somedomain/somevideo.mp4\",\"expireTime\":\"2018-06-29T19:31:41Z\"},\"thumbnailUri\":{\"value\":\"https://somedomain/someimage.png\",\"expireTime\":\"2018-06-29T19:31:41Z\"}}}", "payloadType": "json", "x": 560, "y": 760, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "6b7972c8.d196ac", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "AddOrUpdateMedia 2", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "AddOrUpdateMedia", "payload": "{\"id\":\"2\",\"cause\":\"cause of media creation\",\"recording\":{\"name\":\"Optional video name\",\"startTime\":\"2018-06-29T19:20:41Z\",\"endTime\":\"2018-06-29T19:21:41Z\",\"videoCodec\":\"H264\",\"audioCodec\":\"AAC\",\"uri\":{\"value\":\"https://somedomain/somevideo.mp4\",\"expireTime\":\"2018-06-29T19:31:41Z\"},\"thumbnailUri\":{\"value\":\"https://somedomain/someimage.png\",\"expireTime\":\"2018-06-29T19:31:41Z\"}}}", "payloadType": "json", "x": 560, "y": 800, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "520f57ab.bd85c8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "SetMedia", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "SetMedia", "payload": "[]", "payloadType": "json", "x": 600, "y": 600, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "3bdd2b87.908d34", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "RemoveMedia 1", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "RemoveMedia", "payload": "1", "payloadType": "str", "x": 580, "y": 840, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "a018dd66.8e2bb", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "RemoveMedia 2", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "RemoveMedia", "payload": "2", "payloadType": "str", "x": 580, "y": 880, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "44750f6a.f113b", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "RemoveMedia 3", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "RemoveMedia", "payload": "3", "payloadType": "str", "x": 580, "y": 920, "wires": [ [ "d0c38845.60eff8" ] ] }, { "id": "adb9c6e69e992eb0", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "66de66bc.e271f8", "name": "Camera Streams", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "5", "topic": "cameraStreams", "payload": "{\"cameraStreams\":[{\"uri\":\"https://pizza.dynu.net/hls/bbb.m3u8\",\"expirationTime\":\"2022-02-03T16:20:50.52Z\",\"idleTimeoutSeconds\":30,\"protocol\":\"HLS\",\"resolution\":{\"width\":1920,\"height\":1080},\"authorizationType\":\"NONE\",\"videoCodec\":\"H264\",\"audioCodec\":\"AAC\"}],\"imageUri\":\"https://upload.wikimedia.org/wikipedia/commons/f/fb/Veduta_di_Paestum_2010.jpg\"}", "payloadType": "json", "x": 210, "y": 340, "wires": [ [ "7fa3b08c.9e77c" ] ] }, { "id": "47019e74.d4e6b", "type": "inject", "z": "5cc6ca02.0e2a64", "name": "", "props": [ { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "getState", "x": 260, "y": 40, "wires": [ [ "f667b106.48729" ] ] }, { "id": "7b40b80.dcbf448", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "7956d398.a7c96c", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"powerState\": \"ON\"}", "payloadType": "json", "x": 590, "y": 1780, "wires": [ [ "48dd22a0.4d9f9c" ] ] }, { "id": "3c9b7fa6.6357f", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "7956d398.a7c96c", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"powerState\": \"OFF\"}", "payloadType": "json", "x": 580, "y": 1820, "wires": [ [ "48dd22a0.4d9f9c" ] ] }, { "id": "5afc7e5.655468", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "SetSecurityDeviceNamesInError", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "SetSecurityDeviceNamesInError", "payload": "[\"Finestra Cucina\",\"Finestra Bagno\"]", "payloadType": "json", "x": 890, "y": 200, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "d8f22efa.dde0a", "type": "alexa-device", "z": "5cc6ca02.0e2a64", "g": "9f32eb8f.554ab8", "alexa": "a2728c12.4058f", "name": "Finestra Cucina", "display_categories": [ "CONTACT_SENSOR" ], "topic": "finestra/cucina", "a_inputs": [ "BLURAY", "CABLE", "CD", "DVD", "GAME", "IPOD", "PHONO", "PLAYSTATION", "SATELLITE", "SMARTCAST", "TUNER", "TV", "XBOX" ], "i_automation_management": "", "i_brightness_controller": "", "i_camera_stream_controller": "", "i_channel_controller": "", "i_color_controller": "", "i_color_temperature_controller": "", "i_contact_sensor": true, "i_doorbell_event_source": "", "i_endpoint_health": true, "i_equalizer_controller": "", "i_device_usage_estimation": false, "i_event_detection_sensor": "", "i_input_controller": "", "i_inventory_level_sensor": "", "i_inventory_usage_sensor": "", "i_keypad_controller": "", "a_kc_keys": [], "i_lock_controller": "", "i_media_metadata": "", "i_device_usage_meter": true, "i_mode_controller": "", "i_motion_sensor": true, "i_percentage_controller": "", "i_playback_controller": "", "a_playback_modes": [], "i_power_controller": "", "i_power_level_controller": "", "i_range_controller": "", "i_rtc_session_controller": "", "i_scene_controller": "", "i_security_panel_controller": "", "i_speaker": "", "i_step_speaker": "", "i_temperature_sensor": "", "i_thermostat_controller": "", "a_target_setpoint": false, "a_lower_setpoint": false, "a_upper_setpoint": false, "a_modes": [], "a_supports_scheduling": false, "i_thermostat_controller_hvac_components": "", "i_toggle_controller": "", "i_wake_on_lan_controller": "", "camera_stream_configurations": [], "bands": [], "modes": [], "band_range_min": -6, "band_range_max": 6, "standby_wattage": "", "maximum_wattage": "", "arm_state": [], "alarms": [], "pin_code": "", "exit_delay": "", "mac_addresses": [], "primary_heater_operation": "", "auxiliary_heater_operation": false, "cooler_operation": "", "fan_operation": "", "electricity_measuring_method": "ESTIMATED", "electricity_unit": "MILLIWATT_HOUR", "electricity_default_resolution": "3601", "natural_gas_measuring_method": "MEASURED", "natural_gas_unit": "CUBIC_FOOT", "natural_gas_default_resolution": "3600", "toggles": [], "ranges": [], "c_modes": [], "x": 1940, "y": 140, "wires": [ [ "21a10626.9a490a" ] ] }, { "id": "12c1a902.fc37c7", "type": "alexa-device", "z": "5cc6ca02.0e2a64", "g": "3851fb5.3464404", "alexa": "a2728c12.4058f", "name": "Finestra Bagno", "display_categories": [ "CONTACT_SENSOR", "MOTION_SENSOR" ], "topic": "finestra/bagno", "a_inputs": [ "BLURAY", "CABLE", "CD", "DVD", "GAME", "IPOD", "PHONO", "PLAYSTATION", "SATELLITE", "SMARTCAST", "TUNER", "TV", "XBOX" ], "i_automation_management": false, "i_brightness_controller": false, "i_camera_stream_controller": false, "i_channel_controller": false, "i_color_controller": false, "i_color_temperature_controller": false, "i_contact_sensor": true, "i_doorbell_event_source": false, "i_endpoint_health": true, "i_equalizer_controller": false, "i_device_usage_estimation": false, "i_event_detection_sensor": false, "i_input_controller": false, "i_inventory_level_sensor": false, "i_inventory_usage_sensor": false, "i_keypad_controller": false, "a_kc_keys": [], "i_lock_controller": false, "i_media_metadata": false, "i_device_usage_meter": false, "i_mode_controller": false, "i_motion_sensor": true, "i_percentage_controller": false, "i_playback_controller": false, "i_playback_state_reporter": false, "a_playback_modes": [], "i_power_controller": false, "i_power_level_controller": false, "i_range_controller": false, "i_rtc_session_controller": false, "i_scene_controller": false, "i_security_panel_controller": false, "i_speaker": false, "i_step_speaker": false, "i_timehold_controller": false, "allow_remote_resume": false, "i_temperature_sensor": false, "i_thermostat_controller": false, "a_target_setpoint": false, "a_lower_setpoint": false, "a_upper_setpoint": false, "a_modes": [], "a_supports_scheduling": false, "i_thermostat_controller_hvac_components": false, "i_toggle_controller": false, "i_wake_on_lan_controller": false, "camera_stream_configurations": [], "bands": [], "modes": [], "band_range_min": -6, "band_range_max": 6, "standby_wattage": "", "maximum_wattage": "", "arm_state": [], "alarms": [], "pin_code": "", "exit_delay": "", "mac_addresses": [], "primary_heater_operation": "", "auxiliary_heater_operation": false, "cooler_operation": "", "fan_operation": "", "electricity_measuring_method": "", "electricity_unit": "MILLIWATT_HOUR", "electricity_default_resolution": 3600, "natural_gas_measuring_method": "", "natural_gas_unit": "CUBIC_FOOT", "natural_gas_default_resolution": 3600, "toggles": [], "ranges": [], "c_modes": [], "inventory_usage_sensors": [], "inventory_level_sensors": [], "x": 1940, "y": 320, "wires": [ [ "21a10626.9a490a" ] ] }, { "id": "14103df2.b76e12", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "AddSecurityDeviceNamesInError", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "AddSecurityDeviceNamesInError", "payload": "[\"Finestra Cucina\",\"Finestra Salotto\",\"Finestra Bagno\"]", "payloadType": "json", "x": 890, "y": 240, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "90e497ed.6da6c8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "RemoveSecurityDeviceNamesInError", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "RemoveSecurityDeviceNamesInError", "payload": "[\"Finestra Cucina\",\"Finestra Bagno\"]", "payloadType": "json", "x": 890, "y": 280, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "3dc2d311.e5477c", "type": "alexa-device", "z": "5cc6ca02.0e2a64", "g": "3851fb5.3464404", "alexa": "a2728c12.4058f", "name": "Finestra Salotto", "display_categories": [ "CONTACT_SENSOR", "MOTION_SENSOR" ], "topic": "finestra/salotto", "a_inputs": [ "BLURAY", "CABLE", "CD", "DVD", "GAME", "IPOD", "PHONO", "PLAYSTATION", "SATELLITE", "SMARTCAST", "TUNER", "TV", "XBOX" ], "i_automation_management": false, "i_brightness_controller": false, "i_camera_stream_controller": false, "i_channel_controller": false, "i_color_controller": false, "i_color_temperature_controller": false, "i_contact_sensor": true, "i_doorbell_event_source": false, "i_endpoint_health": true, "i_equalizer_controller": false, "i_device_usage_estimation": false, "i_event_detection_sensor": false, "i_input_controller": false, "i_inventory_level_sensor": false, "i_inventory_usage_sensor": false, "i_keypad_controller": false, "a_kc_keys": [], "i_lock_controller": false, "i_media_metadata": false, "i_device_usage_meter": false, "i_mode_controller": false, "i_motion_sensor": true, "i_percentage_controller": false, "i_playback_controller": false, "i_playback_state_reporter": false, "a_playback_modes": [], "i_power_controller": false, "i_power_level_controller": false, "i_range_controller": false, "i_rtc_session_controller": false, "i_scene_controller": false, "i_security_panel_controller": false, "i_speaker": false, "i_step_speaker": false, "i_timehold_controller": false, "allow_remote_resume": false, "i_temperature_sensor": false, "i_thermostat_controller": false, "a_target_setpoint": false, "a_lower_setpoint": false, "a_upper_setpoint": false, "a_modes": [], "a_supports_scheduling": false, "i_thermostat_controller_hvac_components": false, "i_toggle_controller": false, "i_wake_on_lan_controller": false, "camera_stream_configurations": [], "bands": [], "modes": [], "band_range_min": -6, "band_range_max": 6, "standby_wattage": "", "maximum_wattage": "", "arm_state": [], "alarms": [], "pin_code": "", "exit_delay": "", "mac_addresses": [], "primary_heater_operation": "", "auxiliary_heater_operation": false, "cooler_operation": "", "fan_operation": "", "electricity_measuring_method": "", "electricity_unit": "MILLIWATT_HOUR", "electricity_default_resolution": 3600, "natural_gas_measuring_method": "", "natural_gas_unit": "CUBIC_FOOT", "natural_gas_default_resolution": 3600, "toggles": [], "ranges": [], "c_modes": [], "inventory_usage_sensors": [], "inventory_level_sensors": [], "x": 1940, "y": 380, "wires": [ [ "21a10626.9a490a" ] ] }, { "id": "fd2d1fc9.a6156", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9f32eb8f.554ab8", "name": "CONTACT", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"contactDetectionState\":\"DETECTED\"}", "payloadType": "json", "x": 1740, "y": 140, "wires": [ [ "d8f22efa.dde0a" ] ] }, { "id": "480e2450.ff5bec", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9f32eb8f.554ab8", "name": "NO CONTACT", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"contactDetectionState\":\"NOT_DETECTED\"}", "payloadType": "json", "x": 1720, "y": 100, "wires": [ [ "d8f22efa.dde0a" ] ] }, { "id": "afe220b2.11e04", "type": "http in", "z": "5a2248b8.76ba18", "name": "events", "url": "/alexa/events", "method": "post", "upload": false, "swaggerDoc": "", "x": 410, "y": 140, "wires": [ [ "5b34170f.a34bd8", "5a81a15d.55579" ] ] }, { "id": "5b34170f.a34bd8", "type": "debug", "z": "5a2248b8.76ba18", "name": "Event GW", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 590, "y": 160, "wires": [] }, { "id": "5a81a15d.55579", "type": "change", "z": "5a2248b8.76ba18", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "OK", "tot": "str" }, { "t": "delete", "p": "req", "pt": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 600, "y": 120, "wires": [ [ "2de9b659.8a17ca" ] ] }, { "id": "2de9b659.8a17ca", "type": "http response", "z": "5a2248b8.76ba18", "name": "", "statusCode": "200", "headers": {}, "x": 780, "y": 120, "wires": [] }, { "id": "8fc0ad5d.6de5a", "type": "file", "z": "5a2248b8.76ba18", "name": "token", "filename": "alexa-tokens_a2728c12.4058f.json", "appendNewline": true, "createDir": false, "overwriteFile": "true", "encoding": "none", "x": 690, "y": 300, "wires": [ [ "c0299da8.ce3" ] ] }, { "id": "9bae1630.d696c8", "type": "inject", "z": "5a2248b8.76ba18", "name": "Tokens", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "{\"own\":{\"access_token\":\"Atza|access_token-own\",\"refresh_token\":\"Atzr|refresh_token-own\",\"expire_at\":9633687638936},\"lwa\":{\"access_token\":\"Atza|access_token-lwa\",\"refresh_token\":\"Atzr|refresh_token-lwa\",\"expire_at\":9630610982765},\"evn\":{\"access_token\":\"Atza|access_token-evn\",\"refresh_token\":\"Atzr|refresh_token-evn\",\"expire_at\":9633691954758}}", "payloadType": "json", "x": 540, "y": 300, "wires": [ [ "8fc0ad5d.6de5a" ] ] }, { "id": "c0299da8.ce3", "type": "debug", "z": "5a2248b8.76ba18", "name": "", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 830, "y": 300, "wires": [] }, { "id": "83a041b0.cc2f7", "type": "change", "z": "5a2248b8.76ba18", "name": "endpointId Multi", "rules": [ { "t": "set", "p": "payload.directive.endpoint.endpointId", "pt": "msg", "to": "58c096a.8fa0d68", "tot": "str" }, { "t": "set", "p": "payload.directive.endpoint.scope.token", "pt": "msg", "to": "Atza|access_token-own", "tot": "str" }, { "t": "set", "p": "payload.directive.header.correlationToken", "pt": "msg", "to": "$now()", "tot": "jsonata" }, { "t": "set", "p": "payload.directive.header.messageId", "pt": "msg", "to": "$now()", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 400, "y": 380, "wires": [ [ "c638080f.631628" ] ] }, { "id": "bb6581f2.1d929", "type": "inject", "z": "5a2248b8.76ba18", "name": "InitializeCameraStreams RTSP", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.CameraStreamController\",\"name\":\"InitializeCameraStreams\",\"payloadVersion\":\"3\",\"messageId\":\"d1aabb49-a0e8-4327-b4de-0b35136dc8a0\",\"correlationToken\":\"mio_correlation_token\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"Atza|access_token-own\"},\"endpointId\":\"58c096a.8fa0d68\",\"cookie\":{}},\"payload\":{\"cameraStreams\":[{\"authorizationType\":\"NONE\",\"protocol\":\"RTSP\",\"videoCodec\":\"JPG\",\"audioCodec\":\"G711\",\"resolution\":{\"width\":1920,\"height\":1080}}]}}}", "payloadType": "json", "x": 130, "y": 640, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "7e30f48e.6c200c", "type": "inject", "z": "5a2248b8.76ba18", "name": "InitializeCameraStreams HLS", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.CameraStreamController\",\"name\":\"InitializeCameraStreams\",\"payloadVersion\":\"3\",\"messageId\":\"d1aabb49-a0e8-4327-b4de-0b35136dc8a0\",\"correlationToken\":\"mio_correlation_token\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"Atza|access_token-own\"},\"endpointId\":\"58c096a.8fa0d68\",\"cookie\":{}},\"payload\":{\"cameraStreams\":[{\"authorizationType\":\"NONE\",\"protocol\":\"HLS\",\"videoCodec\":\"H264\",\"audioCodec\":\"AAC\",\"resolution\":{\"width\":1920,\"height\":1080}}]}}}", "payloadType": "json", "x": 140, "y": 600, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "91def99.88d2b08", "type": "inject", "z": "5a2248b8.76ba18", "name": "InitializeCameraStreams", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.CameraStreamController\",\"name\":\"InitializeCameraStreams\",\"payloadVersion\":\"3\",\"messageId\":\"d1aabb49-a0e8-4327-b4de-0b35136dc8a0\",\"correlationToken\":\"mio_correlation_token\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"Atza|access_token-own\"},\"endpointId\":\"58c096a.8fa0d68\",\"cookie\":{}},\"payload\":{\"cameraStreams\":[{\"authorizationType\":\"NONE\",\"protocol\":\"HLS\",\"videoCodec\":\"H264\",\"audioCodec\":\"AAC\",\"resolution\":{\"width\":1920,\"height\":1080}}]}}}", "payloadType": "json", "x": 150, "y": 520, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "93166dc8.e3842", "type": "inject", "z": "5a2248b8.76ba18", "name": "GetMediaMetadata ", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.MediaMetadata\",\"name\":\"GetMediaMetadata\",\"messageId\":\"123-456-789\",\"correlationToken\":\"token\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"Atza|access_token-own\"},\"endpointId\":\"58c096a.8fa0d68\",\"cookie\":{}},\"payload\":{\"filters\":{\"mediaIds\":[\"media Ids\",\"1\",\"2\",\"3\"]}}}}", "payloadType": "json", "x": 170, "y": 560, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "4af86ba2.9c5134", "type": "inject", "z": "5a2248b8.76ba18", "name": "ARMED_AWAY", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.SecurityPanelController\",\"name\":\"Arm\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"armState\":\"ARMED_AWAY\"}}}", "payloadType": "json", "x": 180, "y": 300, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "6a50ad68.133f24", "type": "inject", "z": "5a2248b8.76ba18", "name": "DISARMED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.SecurityPanelController\",\"name\":\"Disarm\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 190, "y": 340, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "23fa4207.812ece", "type": "inject", "z": "5a2248b8.76ba18", "name": "ARMED_STAY", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.SecurityPanelController\",\"name\":\"Arm\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"armState\":\"ARMED_STAY\"}}}", "payloadType": "json", "x": 180, "y": 260, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "8d4fbf8a.3d98a", "type": "inject", "z": "5a2248b8.76ba18", "name": "DISARMED 1234", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.SecurityPanelController\",\"name\":\"Disarm\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"authorization\":{\"type\":\"FOUR_DIGIT_PIN\",\"value\":\"1234\"}}}}", "payloadType": "json", "x": 180, "y": 380, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "add3c007.1f022", "type": "inject", "z": "5a2248b8.76ba18", "name": "Activate", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.SceneController\",\"name\":\"Activate\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\"},\"payload\":{}}}", "payloadType": "json", "x": 210, "y": 420, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "ffa373be.7e953", "type": "inject", "z": "5a2248b8.76ba18", "name": "Deactivate", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.SceneController\",\"name\":\"Deactivate\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\"},\"payload\":{}}}", "payloadType": "json", "x": 200, "y": 460, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "86fe6da9.96efb", "type": "inject", "z": "5a2248b8.76ba18", "name": "TurnOn", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.PowerController\",\"name\":\"TurnOn\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 210, "y": 680, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "4752a27c.d7af1c", "type": "inject", "z": "5a2248b8.76ba18", "name": "TurnOff", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.PowerController\",\"name\":\"TurnOff\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 210, "y": 720, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "c638080f.631628", "type": "http request", "z": "5a2248b8.76ba18", "name": "", "method": "POST", "ret": "txt", "paytoqs": "ignore", "url": "http://localhost:1880/alexa/smarthome/", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 570, "y": 380, "wires": [ [ "7f2571fd.2010a" ] ] }, { "id": "7f2571fd.2010a", "type": "json", "z": "5a2248b8.76ba18", "name": "", "property": "payload", "action": "", "pretty": false, "x": 710, "y": 380, "wires": [ [ "416deff1.a0273" ] ] }, { "id": "416deff1.a0273", "type": "debug", "z": "5a2248b8.76ba18", "name": "Response", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 840, "y": 380, "wires": [] }, { "id": "a5519ad.8c21468", "type": "debug", "z": "5a2248b8.76ba18", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 710, "y": 240, "wires": [] }, { "id": "9ef89361.fb55b", "type": "catch", "z": "5a2248b8.76ba18", "name": "", "scope": null, "uncaught": false, "x": 580, "y": 240, "wires": [ [ "a5519ad.8c21468" ] ] }, { "id": "82c928de.3dbd58", "type": "alexa-device", "z": "5cc6ca02.0e2a64", "g": "3851fb5.3464404", "alexa": "a2728c12.4058f", "name": "Termostato Bagno", "display_categories": [ "THERMOSTAT" ], "topic": "termostato/bagno", "a_inputs": [ "BLURAY", "CABLE", "CD", "DVD", "GAME", "IPOD", "PHONO", "PLAYSTATION", "SATELLITE", "SMARTCAST", "TUNER", "TV", "XBOX" ], "i_automation_management": false, "i_brightness_controller": false, "i_camera_stream_controller": false, "i_channel_controller": false, "i_color_controller": false, "i_color_temperature_controller": false, "i_contact_sensor": false, "i_doorbell_event_source": false, "i_endpoint_health": true, "i_equalizer_controller": false, "i_device_usage_estimation": false, "i_event_detection_sensor": false, "i_input_controller": false, "i_inventory_level_sensor": false, "i_inventory_usage_sensor": false, "i_keypad_controller": false, "a_kc_keys": [], "i_lock_controller": false, "i_media_metadata": false, "i_device_usage_meter": false, "i_mode_controller": false, "i_motion_sensor": false, "i_percentage_controller": false, "i_playback_controller": false, "i_playback_state_reporter": false, "a_playback_modes": [], "i_power_controller": false, "i_power_level_controller": false, "i_range_controller": false, "i_rtc_session_controller": false, "i_scene_controller": false, "i_security_panel_controller": false, "i_speaker": false, "i_step_speaker": false, "i_timehold_controller": false, "allow_remote_resume": false, "i_temperature_sensor": true, "i_thermostat_controller": true, "a_target_setpoint": true, "a_lower_setpoint": true, "a_upper_setpoint": true, "a_modes": [ "AUTO", "COOL", "HEAT", "ECO", "OFF" ], "a_supports_scheduling": true, "i_thermostat_controller_hvac_components": true, "i_toggle_controller": false, "i_wake_on_lan_controller": false, "camera_stream_configurations": [], "bands": [], "modes": [], "band_range_min": -6, "band_range_max": 6, "standby_wattage": "", "maximum_wattage": "", "arm_state": [], "alarms": [], "pin_code": "", "exit_delay": "", "mac_addresses": [], "primary_heater_operation": "", "auxiliary_heater_operation": true, "cooler_operation": "", "fan_operation": "", "electricity_measuring_method": "", "electricity_unit": "MILLIWATT_HOUR", "electricity_default_resolution": 3600, "natural_gas_measuring_method": "", "natural_gas_unit": "CUBIC_FOOT", "natural_gas_default_resolution": 3600, "toggles": [], "ranges": [], "c_modes": [], "inventory_usage_sensors": [], "inventory_level_sensors": [], "x": 1930, "y": 440, "wires": [ [ "21a10626.9a490a" ] ] }, { "id": "d8a70c1d.4c9bf", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "3851fb5.3464404", "name": "", "props": [ { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "getState", "payloadType": "str", "x": 1720, "y": 440, "wires": [ [ "82c928de.3dbd58" ] ] }, { "id": "49b3845e.e00f2c", "type": "inject", "z": "5a2248b8.76ba18", "name": "ReportMeasurements", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.DeviceUsage.Meter\",\"name\":\"ReportMeasurements\",\"messageId\":\"2021-10-15T13:53:07.584Z\",\"correlationToken\":\"2021-10-15T13:53:07.584Z\",\"payloadVersion\":\"1.0\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"Atza|access_token-own\"},\"endpointId\":\"58c096a.8fa0d68\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 160, "y": 220, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "a1e3c3f6.df955", "type": "switch", "z": "5cc6ca02.0e2a64", "g": "3462e0b3.48dbe", "name": "ReportMeasurements", "property": "name", "propertyType": "msg", "rules": [ { "t": "eq", "v": "ReportMeasurements", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 1580, "y": 1020, "wires": [ [ "f94cd64.0beae28" ] ] }, { "id": "f94cd64.0beae28", "type": "debug", "z": "5cc6ca02.0e2a64", "g": "3462e0b3.48dbe", "name": "TODO ReportMeasurements", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 1860, "y": 1020, "wires": [] }, { "id": "a8c174cb.2e0218", "type": "inject", "z": "5a2248b8.76ba18", "name": "ReduceResolution", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.DeviceUsage.Meter\",\"name\":\"ReduceResolution\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"1.0\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"limit\":7200,\"duration\":\"PT6H\"}}}", "payloadType": "json", "x": 170, "y": 180, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "1f4376dd.4a50f9", "type": "inject", "z": "5a2248b8.76ba18", "name": "InvalidMeasurementError", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.DeviceUsage.Meter\",\"name\":\"InvalidMeasurementError\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"1.0\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"electricity\":{\"errorCode\":\"NEGATIVE_VALUE\",\"timeOfError\":\"2020-07-05T12:00:00Z\"}}}}", "payloadType": "json", "x": 150, "y": 140, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "27f5ad34.1f4312", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4d499e52.368c9", "name": "MeasurementsReport", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" }, { "p": "correlationToken", "v": "$now()", "vt": "jsonata" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "MeasurementsReport", "payload": "{\"electricityIntervals\":[{\"usage\":113.2,\"start\":\"2020-07-05T08:00:00Z\",\"end\":\"2020-07-05T09:00:00Z\"},{\"usage\":101.1,\"start\":\"2020-07-05T09:00:00Z\",\"end\":\"2020-07-05T10:00:00Z\"},{\"usage\":0,\"start\":\"2020-07-05T10:00:00Z\",\"end\":\"2020-07-05T10:51:30Z\"},{\"usage\":127.3,\"start\":\"2020-07-05T11:02:30Z\",\"end\":\"2020-07-05T12:00:00Z\"}]}", "payloadType": "json", "x": 200, "y": 1220, "wires": [ [ "b3febad2.8add98" ] ] }, { "id": "7cae27d9.a5a6a8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9f32eb8f.554ab8", "name": "MOTION", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"motionDetectionState\":\"DETECTED\"}", "payloadType": "json", "x": 1740, "y": 220, "wires": [ [ "d8f22efa.dde0a" ] ] }, { "id": "e061e9ed.eb06c8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9f32eb8f.554ab8", "name": "NO MOTION", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"motionDetectionState\":\"NOT_DETECTED\"}", "payloadType": "json", "x": 1730, "y": 180, "wires": [ [ "d8f22efa.dde0a" ] ] }, { "id": "4617b8a8.a32098", "type": "inject", "z": "5a2248b8.76ba18", "name": "ReportState", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa\",\"name\":\"ReportState\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 190, "y": 100, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "3d89936.316a66c", "type": "inject", "z": "5a2248b8.76ba18", "name": "Discovery", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.Discovery\",\"name\":\"Discover\",\"messageId\":\"\",\"payloadVersion\":\"3\"},\"payload\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"Atza|access_token-own\"}}}}", "payloadType": "json", "x": 200, "y": 60, "wires": [ [ "c638080f.631628" ] ] }, { "id": "3951b16c.54e59e", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "SetSecurityDeviceNamesInError", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "SetSecurityDeviceNamesInError", "payload": "{\"names\":[\"Finestra Cucina1\",\"Finestra Bagno\"],\"topics\":[\"finestra/cucina\"]}", "payloadType": "json", "x": 890, "y": 320, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "6a3057c5.262958", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "AddSecurityDeviceNamesInError", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "AddSecurityDeviceNamesInError", "payload": "{\"names\":[\"Finestra Cucina\",\"Finestra Bagno\"],\"topics\":[\"finestra/salotto\"]}", "payloadType": "json", "x": 890, "y": 360, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "9db4695e.b998a8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "RemoveSecurityDeviceNamesInError", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "RemoveSecurityDeviceNamesInError", "payload": "{\"names\":[\"Finestra Cucina1\",\"Finestra Bagno\"],\"topics\":[\"finestra/salotto\"]}", "payloadType": "json", "x": 890, "y": 400, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "3baa9e9c1a44b53f", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9925a165.7480f", "name": "LOCKED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"lockState\":\"LOCKED\"}", "payloadType": "json", "x": 540, "y": 380, "wires": [ [ "c3aaee92.2389e" ] ] }, { "id": "92fafdddd4cf37f3", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9925a165.7480f", "name": "UNLOCKED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"lockState\":\"UNLOCKED\"}", "payloadType": "json", "x": 530, "y": 420, "wires": [ [ "c3aaee92.2389e" ] ] }, { "id": "c382bf21aad8eb9f", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9925a165.7480f", "name": "JAMMED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"lockState\":\"JAMMED\"}", "payloadType": "json", "x": 540, "y": 460, "wires": [ [ "c3aaee92.2389e" ] ] }, { "id": "cab4aa22.443468", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "3c1a3490.a4b1ec", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "brightness", "payload": "10", "payloadType": "num", "x": 230, "y": 160, "wires": [ [ "f295d4a2.cf20b8" ] ] }, { "id": "9de9977a.487a18", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "3c1a3490.a4b1ec", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"brightness\":100}", "payloadType": "json", "x": 210, "y": 200, "wires": [ [ "f295d4a2.cf20b8" ] ] }, { "id": "306f0d3e.f70672", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "3c1a3490.a4b1ec", "name": " Brightness Controller", "info": "", "x": 200, "y": 120, "wires": [] }, { "id": "9273677f.aee948", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "66de66bc.e271f8", "name": " CameraStream Controller", "info": "", "x": 190, "y": 300, "wires": [] }, { "id": "6f8125ef.9c0dac", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "11760387.e4128c", "name": "Channel Controller", "info": "", "x": 210, "y": 440, "wires": [] }, { "id": "83f9395b.2243d8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "11760387.e4128c", "name": "RAI 1 HD", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"channel\":{\"number\":\"501\",\"callSign\":\"RAI 1 HD\",\"affiliateCallSign\":\"RAI\"}}", "payloadType": "json", "x": 240, "y": 480, "wires": [ [ "623e28c9.5d9608" ] ] }, { "id": "dff4fc93.be06d", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "11760387.e4128c", "name": "RAI 2 HD", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"channel\":{\"number\":\"502\",\"callSign\":\"RAI 2 HD\",\"affiliateCallSign\":\"RAI\"}}", "payloadType": "json", "x": 240, "y": 520, "wires": [ [ "623e28c9.5d9608" ] ] }, { "id": "cde8bab8.9b5aa8", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "5a97d6a0.323758", "name": " Color Controller", "info": "", "x": 220, "y": 620, "wires": [] }, { "id": "29adead8.48e6e6", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "5a97d6a0.323758", "name": "Color 1", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"color\":{\"hue\":350,\"saturation\":0.7138,\"brightness\":0.6524}}", "payloadType": "json", "x": 250, "y": 660, "wires": [ [ "39a9704.bd83d9" ] ] }, { "id": "ec67799c.060658", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "5a97d6a0.323758", "name": "Color 2", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"color\":{\"hue\":300.5,\"saturation\":0.7138,\"brightness\":0.6524}}", "payloadType": "json", "x": 250, "y": 700, "wires": [ [ "39a9704.bd83d9" ] ] }, { "id": "11f70d37.12c223", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "ab06b7eb.c2e568", "name": " Color Temperature Controller", "info": "", "x": 180, "y": 800, "wires": [] }, { "id": "77d14032.a2922", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "ab06b7eb.c2e568", "name": "Warm white", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"colorTemperatureInKelvin\": 2000}", "payloadType": "json", "x": 230, "y": 840, "wires": [ [ "f3cb9e33.f6772" ] ] }, { "id": "c929af2f.4716", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "ab06b7eb.c2e568", "name": "Cool white", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"colorTemperatureInKelvin\": 7000}", "payloadType": "json", "x": 240, "y": 880, "wires": [ [ "f3cb9e33.f6772" ] ] }, { "id": "36726572.107d0a", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "80581700.02f2e8", "name": "Contact Sensor", "info": "", "x": 220, "y": 1000, "wires": [] }, { "id": "180c111e.e99b1f", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "80581700.02f2e8", "name": "NO CONTACT", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"contactDetectionState\":\"NOT_DETECTED\"}", "payloadType": "json", "x": 220, "y": 1040, "wires": [ [ "beb9ec77.e6bd5" ] ] }, { "id": "68dda98.e3b5158", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "80581700.02f2e8", "name": "CONTACT", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"contactDetectionState\":\"DETECTED\"}", "payloadType": "json", "x": 240, "y": 1080, "wires": [ [ "beb9ec77.e6bd5" ] ] }, { "id": "e9c54ab7.9b2768", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "8034f25a.0d655", "name": " Doorbell Event Source", "info": "", "x": 200, "y": 1320, "wires": [] }, { "id": "dd0e809548f57a03", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "8034f25a.0d655", "name": "", "props": [ { "p": "topic", "vt": "str" }, { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "DoorbellPress", "payload": "PHYSICAL_INTERACTION", "payloadType": "str", "x": 180, "y": 1360, "wires": [ [ "c6997013.da159" ] ] }, { "id": "c552d8fc.9b6878", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "3df38123.9cc23e", "name": " Endpoint Health ", "info": "", "x": 220, "y": 1460, "wires": [] }, { "id": "7b4384a6.a7db5c", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "3df38123.9cc23e", "name": "OK", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"connectivity\":{\"value\":\"OK\",\"reason\":null}}", "payloadType": "json", "x": 250, "y": 1500, "wires": [ [ "707b859a.142d0c" ] ] }, { "id": "ead38007.67e8c", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "3df38123.9cc23e", "name": "UNREACHABLE", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"connectivity\":{\"value\":\"UNREACHABLE\",\"reason\":\"WIFI_BAD_PASSWORD\"}}", "payloadType": "json", "x": 220, "y": 1540, "wires": [ [ "707b859a.142d0c" ] ] }, { "id": "60f724b3.1d89ac", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "4b64a00a.bfee9", "name": " Equalizer Controller ", "info": "", "x": 210, "y": 1640, "wires": [] }, { "id": "41fcd33a.96a9bc", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4b64a00a.bfee9", "name": "Bands/Mode", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"bands\":[{\"name\":\"BASS\",\"value\":0},{\"name\":\"MIDRANGE\",\"value\":3},{\"name\":\"TREBLE\",\"value\":1}],\"mode\":\"MOVIE\"}", "payloadType": "json", "x": 230, "y": 1720, "wires": [ [ "9ccad05e.dea06" ] ] }, { "id": "eda80bce.9fab18", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "dac59ee3.d92c3", "name": "Estimation ", "info": "No State or directives", "x": 300, "y": 1820, "wires": [] }, { "id": "a086ec2c.a8db8", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "cb4e15e4.1abd98", "name": " Event Detection Sensor ", "info": "", "x": 200, "y": 1920, "wires": [] }, { "id": "73ab523a.84b5bc", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "ba8a1a7f.127558", "name": "MOTION", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"motionDetectionState\":\"DETECTED\"}", "payloadType": "json", "x": 620, "y": 1360, "wires": [ [ "8baf65cd.5d99d8" ] ] }, { "id": "bfa3967b.84f308", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "ba8a1a7f.127558", "name": "NO MOTION", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"motionDetectionState\":\"NOT_DETECTED\"}", "payloadType": "json", "x": 610, "y": 1320, "wires": [ [ "8baf65cd.5d99d8" ] ] }, { "id": "2879d69c.f96e8a", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "5cdd40a1.b5c8a", "name": " Input Controller ", "info": "", "x": 520, "y": 60, "wires": [] }, { "id": "55feda92.2430b4", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "5cdd40a1.b5c8a", "name": "HDMI 1", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"input\":\"HDMI 1\"}", "payloadType": "json", "x": 550, "y": 100, "wires": [ [ "e90df037.5f366" ] ] }, { "id": "83bb6486.85fe28", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "5cdd40a1.b5c8a", "name": "HDMI 2", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"input\":\"HDMI 2\"}", "payloadType": "json", "x": 550, "y": 140, "wires": [ [ "e90df037.5f366" ] ] }, { "id": "a99493.299aeb7", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "e9d1e23f.80d5e", "name": " Keypad Controller ", "info": "No properties", "x": 570, "y": 240, "wires": [] }, { "id": "b9dbecec.b3ed9", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "9925a165.7480f", "name": " Lock Controller ", "info": "", "x": 520, "y": 340, "wires": [] }, { "id": "d46b9113.9e008", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": " Media Metadata ", "info": "", "x": 580, "y": 560, "wires": [] }, { "id": "80f7a8c7.9e82f8", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "4d499e52.368c9", "name": " Deviceusage meter ", "info": "", "x": 210, "y": 1180, "wires": [] }, { "id": "1c5be69d.0e7c59", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "ba8a1a7f.127558", "name": " Motion Sensor ", "info": "", "x": 610, "y": 1280, "wires": [] }, { "id": "779d74bb.18b6fc", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "cb4e15e4.1abd98", "name": "DETECTED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"humanPresenceDetectionState\":\"DETECTED\",\"detectionMethods\":[\"VIDEO\"],\"media\":{\"type\":\"ALEXA.MEDIAMETADATA\",\"id\":\"\"}}", "payloadType": "json", "x": 230, "y": 1960, "wires": [ [ "b1b234c6.a0c1c8" ] ] }, { "id": "ee82d7e6.758628", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "cb4e15e4.1abd98", "name": "NOT_DETECTED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"humanPresenceDetectionState\": \"NOT_DETECTED\"}", "payloadType": "json", "x": 210, "y": 2000, "wires": [ [ "b1b234c6.a0c1c8" ] ] }, { "id": "2e31a003.c70b2", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "50c2ac36.9ca864", "name": " Percentage Controller ", "info": "", "x": 580, "y": 1460, "wires": [] }, { "id": "64ba3f5c.8b689", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "50c2ac36.9ca864", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"percentage\": 75}", "payloadType": "json", "x": 590, "y": 1500, "wires": [ [ "e2bd4541.708128" ] ] }, { "id": "a4ce7d38.9653c", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "50c2ac36.9ca864", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"percentage\": 37}", "payloadType": "json", "x": 590, "y": 1540, "wires": [ [ "e2bd4541.708128" ] ] }, { "id": "fcbf55f0.6b3148", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "b72ec522.442848", "name": " Playback Controller ", "info": "No states", "x": 650, "y": 1640, "wires": [] }, { "id": "5bebba2.0cf7c44", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "7956d398.a7c96c", "name": " Power Controller ", "info": "", "x": 600, "y": 1740, "wires": [] }, { "id": "d11ae58c.f18268", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "8624f632.e73fc8", "name": " PowerLevel Controller ", "info": "", "x": 580, "y": 1920, "wires": [] }, { "id": "c8c6df8c.fa17b", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "8624f632.e73fc8", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"powerLevel\": 10}", "payloadType": "json", "x": 590, "y": 1960, "wires": [ [ "a1b3b978.0f6078" ] ] }, { "id": "c5687d55.80e6d", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "8624f632.e73fc8", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"powerLevel\": 50}", "payloadType": "json", "x": 590, "y": 2000, "wires": [ [ "a1b3b978.0f6078" ] ] }, { "id": "3c2a9ba6.ff33d4", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "2fffe9b8.4bdf66", "name": " Scene Controller ", "info": "No state", "x": 1020, "y": 60, "wires": [] }, { "id": "1d5215dd.918aca", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": " Security Panel Controller ", "info": "", "x": 910, "y": 160, "wires": [] }, { "id": "9159c2ce.8fd48", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "DISARMED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"armState\": \"DISARMED\"}", "payloadType": "json", "x": 950, "y": 440, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "ca3f1d72.35a3b", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "ARMED_AWAY", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"armState\":\"ARMED_AWAY\",\"burglaryAlarm\":{\"value\":\"OK\"},\"carbonMonoxideAlarm\":{\"value\":\"OK\"},\"fireAlarm\":{\"value\":\"OK\"},\"waterAlarm\":{\"value\":\"OK\"}}", "payloadType": "json", "x": 940, "y": 480, "wires": [ [ "d305a806.334a98" ] ] }, { "id": "ec76ffd4.f31f9", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "bfa121ae.6942b", "name": "Speaker ", "info": "", "x": 980, "y": 580, "wires": [] }, { "id": "2e8ab8f2.57d388", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "bfa121ae.6942b", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"volume\": 10}", "payloadType": "json", "x": 970, "y": 620, "wires": [ [ "848df9f0.cdec68" ] ] }, { "id": "fe0207cc.71b9e8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "bfa121ae.6942b", "name": "Muted 50", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"volume\":50,\"muted\":true}", "payloadType": "json", "x": 980, "y": 660, "wires": [ [ "848df9f0.cdec68" ] ] }, { "id": "c5e54dcd.6550f", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "33861595.3c29fa", "name": "Step Speaker ", "info": "No state", "x": 1050, "y": 760, "wires": [] }, { "id": "a892bda1.3101d", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "ce88feac.b7163", "name": "Temperature Sensor ", "info": "", "x": 970, "y": 860, "wires": [] }, { "id": "d34611ba.1d20b", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "ce88feac.b7163", "name": "19.9°C", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"temperature\":{\"value\":19.9,\"scale\":\"CELSIUS\"}}", "payloadType": "json", "x": 1010, "y": 900, "wires": [ [ "1ecf31f0.24edfe" ] ] }, { "id": "cf4dfb7b.f35ca8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "ce88feac.b7163", "name": "29.9°C", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"temperature\":{\"value\":29.9,\"scale\":\"CELSIUS\"}}", "payloadType": "json", "x": 1010, "y": 940, "wires": [ [ "1ecf31f0.24edfe" ] ] }, { "id": "6c7c2d6a.7730a4", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "3ef7e7ff.058988", "name": "Thermostat Controller ", "info": "", "x": 960, "y": 1040, "wires": [] }, { "id": "d2bc142f.d3f1f8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "3ef7e7ff.058988", "name": "T 19.9°C", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"targetSetpoint\":{\"value\":19.9,\"scale\":\"CELSIUS\"},\"thermostatMode\":\"HEAT\"}", "payloadType": "json", "x": 1000, "y": 1080, "wires": [ [ "54ae6dd8.50c774" ] ] }, { "id": "b40e27a.f80c3d8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "3ef7e7ff.058988", "name": "T 19.9°C - 21.9°C", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"lowerSetpoint\":{\"value\":19.9,\"scale\":\"CELSIUS\"},\"upperSetpoint\":{\"value\":19.9,\"scale\":\"CELSIUS\"},\"thermostatMode\":\"COOL\"}", "payloadType": "json", "x": 970, "y": 1120, "wires": [ [ "54ae6dd8.50c774" ] ] }, { "id": "6bd6da53.ff5ed4", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "d9c6beae.d3352", "name": "Thermostat Controller HVAC", "info": "", "x": 940, "y": 1220, "wires": [] }, { "id": "f02eef9d.59fa5", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "d9c6beae.d3352", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"primaryHeaterOperation\":\"STAGE_2\",\"auxiliaryHeaterOperation\":\"OFF\",\"coolerOperation\":\"STAGE_2\",\"fanOperation\":\"STAGE_1\"}", "payloadType": "json", "x": 1010, "y": 1260, "wires": [ [ "80e05795.817cb8" ] ] }, { "id": "8d816526.d58108", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "d9c6beae.d3352", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"primaryHeaterOperation\":\"STAGE_3\",\"auxiliaryHeaterOperation\":\"ON\",\"coolerOperation\":\"STAGE_1\",\"fanOperation\":\"OFF\"}", "payloadType": "json", "x": 1010, "y": 1300, "wires": [ [ "80e05795.817cb8" ] ] }, { "id": "8c5aa077.138ed", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "c207b51f.ead0b8", "name": "Wake On LAN Controller ", "info": "No state", "x": 1030, "y": 1920, "wires": [] }, { "id": "eef7ac27.8e6af", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9f32eb8f.554ab8", "name": "", "props": [ { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "getState", "x": 1740, "y": 60, "wires": [ [ "d8f22efa.dde0a" ] ] }, { "id": "c4072795.1d1e98", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4b64a00a.bfee9", "name": "Bands/Mode", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"bands\":[{\"name\":\"BASS\",\"value\":-1},{\"name\":\"MIDRANGE\",\"value\":-2},{\"name\":\"TREBLE\",\"value\":-3}],\"mode\":\"MUSIC\"}", "payloadType": "json", "x": 230, "y": 1680, "wires": [ [ "9ccad05e.dea06" ] ] }, { "id": "7bbd7003.beeca", "type": "inject", "z": "5a2248b8.76ba18", "name": "BLU", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ColorController\",\"name\":\"SetColor\",\"payloadVersion\":\"3\",\"messageId\":\"ca5c7c87-e414-4e6b-991c-ea13f6d73f9e\",\"correlationToken\":\"Correlation\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"token\"},\"endpointId\":\"endpoint\",\"cookie\":{}},\"payload\":{\"color\":{\"hue\":240,\"saturation\":1,\"brightness\":1}}}}", "payloadType": "json", "x": 210, "y": 760, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "2eecd1c9.e8afde", "type": "inject", "z": "5a2248b8.76ba18", "name": "RED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ColorController\",\"name\":\"SetColor\",\"payloadVersion\":\"3\",\"messageId\":\"ca5c7c87-e414-4e6b-991c-ea13f6d73f9e\",\"correlationToken\":\"Correlation\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"token\"},\"endpointId\":\"endpoint\",\"cookie\":{}},\"payload\":{\"color\":{\"hue\":0,\"saturation\":1,\"brightness\":1}}}}", "payloadType": "json", "x": 210, "y": 800, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "63cd9a33.69a834", "type": "inject", "z": "5a2248b8.76ba18", "name": "White", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ColorTemperatureController\",\"name\":\"SetColorTemperature\",\"payloadVersion\":\"3\",\"messageId\":\"f6234635-13a6-42b1-89a0-dd81dd7af8be\",\"correlationToken\":\"correlationToken\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"token\"},\"endpointId\":\"a7be65ba6d658b90\",\"cookie\":{}},\"payload\":{\"colorTemperatureInKelvin\":4000}}}", "payloadType": "json", "x": 210, "y": 840, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "4ef35db1.0cea44", "type": "inject", "z": "5a2248b8.76ba18", "name": "Warm White", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ColorTemperatureController\",\"name\":\"SetColorTemperature\",\"payloadVersion\":\"3\",\"messageId\":\"f6234635-13a6-42b1-89a0-dd81dd7af8be\",\"correlationToken\":\"correlationToken\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"token\"},\"endpointId\":\"a7be65ba6d658b90\",\"cookie\":{}},\"payload\":{\"colorTemperatureInKelvin\":2200}}}", "payloadType": "json", "x": 190, "y": 880, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "980ecf1f.e300d", "type": "inject", "z": "5a2248b8.76ba18", "name": "TurnOn OvenLight", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ToggleController\",\"name\":\"TurnOn\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\",\"instance\":\"Oven.OvenLight\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 170, "y": 920, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "d311681b.4ca248", "type": "inject", "z": "5a2248b8.76ba18", "name": "TurnOff OvenLight", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ToggleController\",\"name\":\"TurnOff\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\",\"instance\":\"Oven.OvenLight\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 170, "y": 960, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "175bce32.ed9362", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "9683fd27.1479f", "name": "Toggles", "info": "", "x": 1010, "y": 1400, "wires": [] }, { "id": "2e64ac83.6c7244", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9683fd27.1479f", "name": "ON ON", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"toggles\":{\"Oven.OvenLight\":\"ON\",\"GarbageCan.Lid\":\"ON\"}}", "payloadType": "json", "x": 1010, "y": 1440, "wires": [ [ "6c00480a.b8b818" ] ] }, { "id": "db842796.00b868", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9683fd27.1479f", "name": "OFF OFF", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "toggles", "payload": "{\"Oven.OvenLight\":\"OFF\",\"GarbageCan.Lid\":\"OFF\"}", "payloadType": "json", "x": 1000, "y": 1480, "wires": [ [ "6c00480a.b8b818" ] ] }, { "id": "a61ea607.17e338", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9683fd27.1479f", "name": "ON OFF", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"toggles\":{\"Oven.OvenLight\":\"ON\",\"GarbageCan.Lid\":\"OFF\"}}", "payloadType": "json", "x": 1000, "y": 1520, "wires": [ [ "6c00480a.b8b818" ] ] }, { "id": "bfbaf89a.aa5688", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "9683fd27.1479f", "name": "OFF ON", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "toggles", "payload": "{\"Oven.OvenLight\":\"OFF\",\"GarbageCan.Lid\":\"ON\"}", "payloadType": "json", "x": 1000, "y": 1560, "wires": [ [ "6c00480a.b8b818" ] ] }, { "id": "8054833d.35339", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "10ca3f12.68f441", "name": "Ranges", "info": "", "x": 990, "y": 1660, "wires": [] }, { "id": "6e77b600.a2f9f8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "10ca3f12.68f441", "name": "2 3", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"ranges\":{\"Fan.Speed\":2,\"Blind.Lift\":3}}", "payloadType": "json", "x": 990, "y": 1700, "wires": [ [ "55a003b6.e4f36c" ] ] }, { "id": "1c967ac1.b40265", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "10ca3f12.68f441", "name": "4 5", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "ranges", "payload": "{\"Fan.Speed\":4,\"Blind.Lift\":5}", "payloadType": "json", "x": 990, "y": 1740, "wires": [ [ "55a003b6.e4f36c" ] ] }, { "id": "815e9477.295ff8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "10ca3f12.68f441", "name": ". 6", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"ranges\":{\"Blind.Lift\":6}}", "payloadType": "json", "x": 990, "y": 1780, "wires": [ [ "55a003b6.e4f36c" ] ] }, { "id": "5def2bf1.11e864", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "10ca3f12.68f441", "name": "7", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "ranges", "payload": "{\"Fan.Speed\":7}", "payloadType": "json", "x": 990, "y": 1820, "wires": [ [ "55a003b6.e4f36c" ] ] }, { "id": "4b562d3b.de6604", "type": "inject", "z": "5a2248b8.76ba18", "name": "Blind.Lift 9", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.RangeController\",\"name\":\"SetRangeValue\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\",\"instance\":\"Blind.Lift\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"rangeValue\":0}}}", "payloadType": "json", "x": 200, "y": 1000, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "1ae14fca.c8a96", "type": "inject", "z": "5a2248b8.76ba18", "name": "Fan.Speed", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.RangeController\",\"name\":\"AdjustRangeValue\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\",\"instance\":\"Fan.Speed\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"rangeValueDeltaDefault\":true}}}", "payloadType": "json", "x": 200, "y": 1040, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "5a34aff1.6897d", "type": "inject", "z": "5a2248b8.76ba18", "name": "Fan.Speed -1", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.RangeController\",\"name\":\"AdjustRangeValue\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\",\"instance\":\"Fan.Speed\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"rangeValueDeltaDefault\":false,\"rangeValueDelta\":-1}}}", "payloadType": "json", "x": 190, "y": 1080, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "1e598666.d1349a", "type": "inject", "z": "5a2248b8.76ba18", "name": "WashCycle.Normal", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ModeController\",\"instance\":\"Washer.WashCycle\",\"name\":\"SetMode\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"mode\":\"WashCycle.Normal\"}}}", "payloadType": "json", "x": 170, "y": 1120, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "de775305.bd0be", "type": "inject", "z": "5a2248b8.76ba18", "name": "WashCycle.Delicates", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ModeController\",\"instance\":\"Washer.WashCycle\",\"name\":\"SetMode\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"mode\":\"WashCycle.Delicates\"}}}", "payloadType": "json", "x": 160, "y": 1160, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "a9aed06b.68f8a", "type": "inject", "z": "5a2248b8.76ba18", "name": "WashTemperature next", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ModeController\",\"instance\":\"Washer.WashTemperature\",\"name\":\"AdjustMode\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{}}}", "payloadType": "json", "x": 160, "y": 1200, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "fa8482b.261c78", "type": "inject", "z": "5a2248b8.76ba18", "name": "WashTemperature prev", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"directive\":{\"header\":{\"namespace\":\"Alexa.ModeController\",\"instance\":\"Washer.WashTemperature\",\"name\":\"AdjustMode\",\"messageId\":\"\",\"correlationToken\":\"\",\"payloadVersion\":\"3\"},\"endpoint\":{\"scope\":{\"type\":\"BearerToken\",\"token\":\"\"},\"endpointId\":\"\",\"cookie\":{}},\"payload\":{\"modeDelta\":-1}}}", "payloadType": "json", "x": 160, "y": 1240, "wires": [ [ "83a041b0.cc2f7" ] ] }, { "id": "16c544df.8a6b4b", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "8d57ae76.d4c1", "name": "Modes", "info": "", "x": 630, "y": 1020, "wires": [] }, { "id": "4f7e7853.45d1d8", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "8d57ae76.d4c1", "name": "Wash Delicates Cold Up", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"modes\":{\"Washer.CurrentWashCycle\":\"CurrentWashCycle.Wash\",\"Washer.WashTemperature\":\"WashTemperature.Cold\",\"Blinds.Position\":\"Position.Up\",\"Washer.WashCycle\":\"WashCycle.Delicates\"}}", "payloadType": "json", "x": 570, "y": 1060, "wires": [ [ "22dc3d7f.d2b452" ] ] }, { "id": "a74be276.fa0ca", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "8d57ae76.d4c1", "name": "Rinse Warm Normal Down", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "modes", "payload": "{\"Washer.CurrentWashCycle\":\"CurrentWashCycle.Rinse\",\"Washer.WashTemperature\":\"WashTemperature.Warm\",\"Blinds.Position\":\"Position.Down\",\"Washer.WashCycle\":\"WashCycle.Normal\"}", "payloadType": "json", "x": 570, "y": 1100, "wires": [ [ "22dc3d7f.d2b452" ] ] }, { "id": "a2b4b892.275808", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "8d57ae76.d4c1", "name": "Spin Hot", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"modes\":{\"Washer.CurrentWashCycle\":\"CurrentWashCycle.Spin\",\"Washer.WashTemperature\":\"WashTemperature.Hot\"}}", "payloadType": "json", "x": 620, "y": 1140, "wires": [ [ "22dc3d7f.d2b452" ] ] }, { "id": "c1e150d9.a7c2b", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "8d57ae76.d4c1", "name": "Normal", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "modes", "payload": "{\"Washer.WashCycle\":\"WashCycle.Normal\"}", "payloadType": "json", "x": 630, "y": 1180, "wires": [ [ "22dc3d7f.d2b452" ] ] }, { "id": "5494439c.affb9c", "type": "link in", "z": "5cc6ca02.0e2a64", "g": "3462e0b3.48dbe", "name": "", "links": [ "f667b106.48729", "f295d4a2.cf20b8", "87da5de1.557ef", "7fa3b08c.9e77c", "623e28c9.5d9608", "39a9704.bd83d9", "f3cb9e33.f6772", "beb9ec77.e6bd5", "b3febad2.8add98", "c6997013.da159", "707b859a.142d0c", "9ccad05e.dea06", "b1b234c6.a0c1c8", "d305a806.334a98", "848df9f0.cdec68", "d0c38845.60eff8", "c3aaee92.2389e", "e90df037.5f366", "22dc3d7f.d2b452", "8baf65cd.5d99d8", "e2bd4541.708128", "6c00480a.b8b818", "55a003b6.e4f36c", "48dd22a0.4d9f9c", "a1b3b978.0f6078", "1ecf31f0.24edfe", "54ae6dd8.50c774", "80e05795.817cb8", "6581fa5.2647a04", "d1ef2e81.e363", "e477f87b.40c7b8", "9f401aed.776c88" ], "x": 1275, "y": 960, "wires": [ [ "58c096a.8fa0d68" ] ] }, { "id": "f667b106.48729", "type": "link out", "z": "5cc6ca02.0e2a64", "name": "", "links": [ "5494439c.affb9c" ], "x": 375, "y": 40, "wires": [] }, { "id": "f295d4a2.cf20b8", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "3c1a3490.a4b1ec", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 180, "wires": [] }, { "id": "7fa3b08c.9e77c", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "66de66bc.e271f8", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 340, "wires": [] }, { "id": "623e28c9.5d9608", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "11760387.e4128c", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 500, "wires": [] }, { "id": "39a9704.bd83d9", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "5a97d6a0.323758", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 680, "wires": [] }, { "id": "f3cb9e33.f6772", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "ab06b7eb.c2e568", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 860, "wires": [] }, { "id": "beb9ec77.e6bd5", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "80581700.02f2e8", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 1060, "wires": [] }, { "id": "b3febad2.8add98", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "4d499e52.368c9", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 1220, "wires": [] }, { "id": "c6997013.da159", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "8034f25a.0d655", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 1360, "wires": [] }, { "id": "707b859a.142d0c", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "3df38123.9cc23e", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 1520, "wires": [] }, { "id": "9ccad05e.dea06", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "4b64a00a.bfee9", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 1700, "wires": [] }, { "id": "b1b234c6.a0c1c8", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "cb4e15e4.1abd98", "name": "", "links": [ "5494439c.affb9c" ], "x": 355, "y": 1980, "wires": [] }, { "id": "d305a806.334a98", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "2427d842.422858", "name": "", "links": [ "5494439c.affb9c" ], "x": 1095, "y": 340, "wires": [] }, { "id": "848df9f0.cdec68", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "bfa121ae.6942b", "name": "", "links": [ "5494439c.affb9c" ], "x": 1095, "y": 640, "wires": [] }, { "id": "d0c38845.60eff8", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "4e712e28.25f18", "name": "", "links": [ "5494439c.affb9c" ], "x": 735, "y": 740, "wires": [] }, { "id": "c3aaee92.2389e", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "9925a165.7480f", "name": "", "links": [ "5494439c.affb9c" ], "x": 655, "y": 420, "wires": [] }, { "id": "e90df037.5f366", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "5cdd40a1.b5c8a", "name": "", "links": [ "5494439c.affb9c" ], "x": 655, "y": 120, "wires": [] }, { "id": "22dc3d7f.d2b452", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "8d57ae76.d4c1", "name": "", "links": [ "5494439c.affb9c" ], "x": 735, "y": 1120, "wires": [] }, { "id": "8baf65cd.5d99d8", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "ba8a1a7f.127558", "name": "", "links": [ "5494439c.affb9c" ], "x": 735, "y": 1340, "wires": [] }, { "id": "e2bd4541.708128", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "50c2ac36.9ca864", "name": "", "links": [ "5494439c.affb9c" ], "x": 735, "y": 1520, "wires": [] }, { "id": "6c00480a.b8b818", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "9683fd27.1479f", "name": "", "links": [ "5494439c.affb9c" ], "x": 1115, "y": 1500, "wires": [] }, { "id": "55a003b6.e4f36c", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "10ca3f12.68f441", "name": "", "links": [ "5494439c.affb9c" ], "x": 1115, "y": 1760, "wires": [] }, { "id": "48dd22a0.4d9f9c", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "7956d398.a7c96c", "name": "", "links": [ "5494439c.affb9c" ], "x": 735, "y": 1800, "wires": [] }, { "id": "a1b3b978.0f6078", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "8624f632.e73fc8", "name": "", "links": [ "5494439c.affb9c" ], "x": 735, "y": 1980, "wires": [] }, { "id": "1ecf31f0.24edfe", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "ce88feac.b7163", "name": "", "links": [ "5494439c.affb9c" ], "x": 1115, "y": 920, "wires": [] }, { "id": "54ae6dd8.50c774", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "3ef7e7ff.058988", "name": "", "links": [ "5494439c.affb9c" ], "x": 1115, "y": 1100, "wires": [] }, { "id": "80e05795.817cb8", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "d9c6beae.d3352", "name": "", "links": [ "5494439c.affb9c" ], "x": 1115, "y": 1280, "wires": [] }, { "id": "5e6bcc5a.b27b54", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "2d78ec69.717034", "name": "InventoryLevelSensor ", "info": "", "x": 1320, "y": 60, "wires": [] }, { "id": "34e98b0d.beec74", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2d78ec69.717034", "name": "Cyan 10 FrontTray 20", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"levels\":{\"InkSensor.Cyan\":{\"value\":10},\"PaperSensor.FrontTray\":{\"value\":20}}}", "payloadType": "json", "x": 1320, "y": 100, "wires": [ [ "d1ef2e81.e363" ] ] }, { "id": "d1ef2e81.e363", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "2d78ec69.717034", "name": "", "links": [ "5494439c.affb9c" ], "x": 1475, "y": 160, "wires": [] }, { "id": "29d370ff.8bfc7", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2d78ec69.717034", "name": "Cyan 11 FrontTray 21", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "levels", "payload": "{\"InkSensor.Cyan\":{\"value\":11},\"PaperSensor.FrontTray\":{\"value\":21}}", "payloadType": "json", "x": 1320, "y": 140, "wires": [ [ "d1ef2e81.e363" ] ] }, { "id": "12209621.5cc4ca", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2d78ec69.717034", "name": "FrontTray 22", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "levels", "payload": "{\"PaperSensor.FrontTray\":{\"value\":22}}", "payloadType": "json", "x": 1350, "y": 180, "wires": [ [ "d1ef2e81.e363" ] ] }, { "id": "ddec98b.2cf5768", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "2d78ec69.717034", "name": "Cyan 24", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "levels", "payload": "{\"InkSensor.Cyan\":{\"value\":24}}", "payloadType": "json", "x": 1360, "y": 220, "wires": [ [ "d1ef2e81.e363" ] ] }, { "id": "2c9c80ef.0a1c6", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4a778fba.2b707", "name": "CoffeePod 10", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "InventoryConsumed", "payload": "{\"Sensor.CoffeePod\":{\"value\":10}}", "payloadType": "json", "x": 1350, "y": 360, "wires": [ [ "e477f87b.40c7b8" ] ] }, { "id": "8c0af2ae.959cd", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "4a778fba.2b707", "name": "InventoryUsageSensor", "info": "", "x": 1320, "y": 320, "wires": [] }, { "id": "e477f87b.40c7b8", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "4a778fba.2b707", "name": "", "links": [ "5494439c.affb9c" ], "x": 1475, "y": 380, "wires": [] }, { "id": "5b9f25cc.9a899c", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "4a778fba.2b707", "name": "CoffeePod 20 filament 100", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "InventoryConsumed", "payload": "{\"Sensor.CoffeePod\":{\"value\":20},\"3DPrinter.Filament\":{\"value\":100}}", "payloadType": "json", "x": 1310, "y": 400, "wires": [ [ "e477f87b.40c7b8" ] ] }, { "id": "3f817392.76794c", "type": "comment", "z": "5cc6ca02.0e2a64", "g": "6ab2861.3f57678", "name": "PlaybackStateReporter", "info": "", "x": 1320, "y": 500, "wires": [] }, { "id": "c4250ffa.5a6c1", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "6ab2861.3f57678", "name": "PAUSED", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"playbackState\": \"PAUSED\"}", "payloadType": "json", "x": 1360, "y": 580, "wires": [ [ "9f401aed.776c88" ] ] }, { "id": "2dee37ad.667e08", "type": "inject", "z": "5cc6ca02.0e2a64", "g": "6ab2861.3f57678", "name": "PLAYING", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "playbackState", "payload": "PLAYING", "payloadType": "str", "x": 1360, "y": 540, "wires": [ [ "9f401aed.776c88" ] ] }, { "id": "9f401aed.776c88", "type": "link out", "z": "5cc6ca02.0e2a64", "g": "6ab2861.3f57678", "name": "", "links": [ "5494439c.affb9c" ], "x": 1475, "y": 560, "wires": [] } ]