Procesy z życia wzięte - Status poranny

a masz włączony sensor alarmu w aplikacji HA na telefonie??

tak. ale nie odczytuje go prawidłowo. mam ustawiony na 6:40 a odczytuje stan 5:25.
zmiana godziny nic nie zmienia. czytałem gdzieś na community Home Assistant że to znany problem, nawet aplikacja Hassalarm nie pomaga. Jedyna co przychodzi w tej kwestii do głowy to stworzenie i korzystanie z encji alarmu na HA a nie z telefonu

Jeżeli chcesz wyzwalać alarmem to program Sleep as Android
Można połączyć z integracją HA
Screenshot - 22.03.2022 , 14_49_03
lub użyć MQTT, Tasker.
Screenshot - 22.03.2022 , 14_56_13

Znany problem konkretnego modelu telefonu ? U mnie nie widzę żadnego problemu z ustawionym alarmem na telefonie a tym wyświetlonym w HA.
Masz dobrą godzina i strefę czasowa w HA ?

Sleep as Droid całkiem fajna apka. Nawet nie wiedziałem, że ma integracje z HA. Mam nawet wersje wykupiona, tylko nie używam. Powód — nie bardzo chce działać na Huawei i nie widzi zegarka od Huawei, wiec trochę szkoda. Problem w samym Huawei, który nie dopuszcza zewnętrznych developerów. Chociaż podobno może się to zmienić od momentu, jak wprowadzili w nowych dodawanie aplikacji do zegarka

Ja używam MQTT + NodeRed działa bez problemów. Integracja HA to też chyba MQTT, jeszcze tego nie testowałem.

Tak aplikacje poza google clock nie chcą ppoprawnie działać.
Na google clock udało mi się. aktualizuje encje next_alarm

Przyznaje się bez bicia, że wszelakie pisanie funkcji w NR to dla mnie czarna magia. Może jednak ktoś mnie nakieruje. Mając takie dane jak poniżej da radę jakoś ogarnąć, aby do statusu porannego dołożyć informację, np które alergeny mają pylenie np. bardzo wysokie?? Coś np. takiego: "Dziś jest bardzo wysokie stężenie pyłków … (i tutaj wymienić te, które akurat mają poziom “Bardzo wysokie”) ??

Proszę bardzo
flows.json (17,4 KB)

2 polubienia

oooo, super, od razu widać profesjonalną robotę.

Ja też ogarnąłem temat po swojemu ale wersją chałupniczą

Czesc po ostatniej aktualizacji do:

Home Assistant Core 2022.5.5

Home Assistant Supervisor 2022.05.2

Nagle przestaly dzialac glosniki pokazuje sie "Call-service API error. "

Jakie głośniki? Nie odtwarza ci muzyki komunikatów ?

Tak dokladnie Gogle Home duzy

Nie widzę u siebie problemów z odtwarzaniem, więc wrzuć tu swój FLOW

Problem byl z samym HA
Tu wykasowalo mi po aktualizacji

Cześć.

Mam pytanie co do OpenWeatherMap i darmowej wersji API.
Skonfigurowałem integrację, lecz działa poprawnie tylko w trybie “hourly”.
W trybie “onecall_daily” wywala błąd: “Próbuję ponownie skonfigurować: Invalid API Key provided”.

W dokumentacji jest napisne, że:
" Forecast mode, hourly for a three-hour forecast, daily for daily forecast using a paid API tier, onecall_hourly for an hourly forecast up to 2 days, or onecall_daily for a daily forecast up to 7 days (ideal for the free tier, default)."

Czyli “onecall_daily” jest w wersji API free i powinno działać.
Jak to u Was wygląda?
Dzięki za pomoc.
Pozdrawiam.

Ja miałem zawsze onecall_daily, ale hourly też mam na innej istalacji.
111111

Trzeba było wywalić integrację i zainstalować na nowo.

@Krzysztof_Lusiak Jak to wykorzystać do odczytania samej godziny z atrybuty, gdy jest w nim również data?

Chcę do informacji o najbliższym zadaniu dodać informację o godzinie jego rozpoczęcia.
Atrybut z kalendarza zawiera: “start_time: 2022-10-19 16:00:00”
W NR więc czytam go w następujący sposób: msg.data.attributes.start_time
I działa pięknie, bo pokazuje np: “2022-10-19 16:30:00”
Ale teraz na głośnik chciałbym wrzucić samo “Godzina szesnasta trzydzieści”.

Jak to ogarnąć?
Dziękuję.
Pozdrawiam.

Edit:

Gotowe :wink:

const date = new Date(msg.data.attributes.start_time);

const tmp = msg.data.attributes.start_time.slice(11).split(":")

const godziny = ["północ", "pierwszą", "drugą", "trzecią", "czwartą", "piątą",

  "szóstą", "sidmą", "ósmą", "dziewiątą", "dziesiątą", "jedenastą",

  "dwunastą", "trzynastą", "czternastą", "piętnastą", "szesnastą",

  "siedemnastą", "osiemstąnstą", "dziewiętnastą", "dwudziestą",

  "dwudziestąpierwszą", "dwudziestądruga", "dwudziestątrzecią"];

const godz = `${godziny[tmp[0]]}`;

date.getDate();

date.getMonth();

date.getFullYear();

const isToday = (date) => {

    const today = new Date()

    return date.getDate() === today.getDate() &&

        date.getMonth() === today.getMonth() &&

        date.getFullYear() === today.getFullYear();

};

if (isToday(date)) {

  msg.wiadomosc = msg.wiadomosc+

    " Pamiętaj, że dzisiaj najbliższym zadaniem do wykonania jest " + msg.data.attributes.message + " na godzinę "

    + godz + " " + tmp[1] + ".";

} else {

  msg.wiadomosc = msg.wiadomosc+

    " Dzisiaj brak zadań do wykonania. Najbliższe to "+msg.data.attributes.message+". Jednak to dopiero jutro.";

}

return msg;

Dzień dobry wszystkim. Od około roku mam Arturowy status poranny. Działa prawie OK ale potrzebuję informacje o wywożonych odpadach. Zainstalowałem sobie dodatek waste_collection_schedule i chcę aby NodeRed odczytywał stany oraz dzień przed wywożeniem śmieci oraz w dniu wywózki informował mnie na głośniku.
Koledzy, nie śmiejcie się ale nie umiem tego zrobić. Nie znam się na NodeRed a żona bardzo prosi.
Trochę czytałem, troch pożyczałem kodów z tego forum ale nie potrafię.
Czy pomożecie? Z góry dziękuję

[{"id":"23631b93c1957356","type":"api-current-state","z":"5004bb6127f376d5","name":"zmieszane","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_odpady_zmieszane_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1040,"y":450,"wires":[["6828861d2fd6302e"],["0af1e5d457fc1121"]]},{"id":"6828861d2fd6302e","type":"function","z":"5004bb6127f376d5","name":"odpadów zmieszanych","func":"msg.wiadomosc = msg.wiadomosc+\n    \"odpadów zmieszanych\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1240,"y":450,"wires":[["0af1e5d457fc1121"]]},{"id":"bffbf184860fd745","type":"function","z":"5004bb6127f376d5","name":"Śmieci dziś","func":"msg.wiadomosc = msg.wiadomosc+\n    \" Przypominam, dziś jest wywóz śmieci\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":850,"y":540,"wires":[["23631b93c1957356"]]},{"id":"0af1e5d457fc1121","type":"api-current-state","z":"5004bb6127f376d5","name":"Plastik","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_plastik_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1060,"y":500,"wires":[["ebf811cf32eb188d"],["3ad6c84c506dce11"]]},{"id":"ebf811cf32eb188d","type":"function","z":"5004bb6127f376d5","name":"plasiku","func":"msg.wiadomosc = msg.wiadomosc+\n    \", plastików\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1200,"y":500,"wires":[["3ad6c84c506dce11"]]},{"id":"3ad6c84c506dce11","type":"api-current-state","z":"5004bb6127f376d5","name":"papier","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_papier_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1060,"y":540,"wires":[["9f10234910d7ef07"],["f49ec423a0f1f58e"]]},{"id":"9f10234910d7ef07","type":"function","z":"5004bb6127f376d5","name":"papieru","func":"msg.wiadomosc = msg.wiadomosc+\n    \", papieru\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1200,"y":540,"wires":[["f49ec423a0f1f58e"]]},{"id":"f49ec423a0f1f58e","type":"api-current-state","z":"5004bb6127f376d5","name":"Szkło","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_szklo_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1060,"y":580,"wires":[["a27adce940d6cc84"],["5d55a6118e61f1ae"]]},{"id":"a27adce940d6cc84","type":"function","z":"5004bb6127f376d5","name":"szkła","func":"msg.wiadomosc = msg.wiadomosc+\n    \", szkła\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1190,"y":580,"wires":[["5d55a6118e61f1ae"]]},{"id":"5d55a6118e61f1ae","type":"api-current-state","z":"5004bb6127f376d5","name":"Bio","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_bio_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1062,"y":640,"wires":[["2937dcc3c89175cf"],["0ecbe6136174b8f9"]]},{"id":"2937dcc3c89175cf","type":"function","z":"5004bb6127f376d5","name":"bio","func":"msg.wiadomosc = msg.wiadomosc+\n    \", bio\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1190,"y":620,"wires":[["0ecbe6136174b8f9"]]},{"id":"930bfa373cf16a8a","type":"function","z":"5004bb6127f376d5","name":"KOMUNIKAT","func":"msg.komunikat =\n{\n    \"data\":\n    {\n        \"message\": msg.wiadomosc,\n    }\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1590,"y":740,"wires":[["8735aab94ce9835a"]]},{"id":"8735aab94ce9835a","type":"debug","z":"5004bb6127f376d5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1730,"y":740,"wires":[]},{"id":"7a58f306c2b46435","type":"api-current-state","z":"5004bb6127f376d5","name":"zmieszane","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_odpady_zmieszane_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"zmieszane1","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":530,"y":460,"wires":[["7e4d99dba7bacca9"],["83100ce4a9e76f0a"]]},{"id":"7198ae3a1118f49b","type":"api-current-state","z":"5004bb6127f376d5","name":"papier","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_papier_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"papier1","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":550,"y":580,"wires":[["7e4d99dba7bacca9"],["4534e63917194ce7"]]},{"id":"4534e63917194ce7","type":"api-current-state","z":"5004bb6127f376d5","name":"Szkło","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_szklo_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"szklo1","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":550,"y":640,"wires":[["7e4d99dba7bacca9"],["41e230d4c2dd4fd1"]]},{"id":"41e230d4c2dd4fd1","type":"api-current-state","z":"5004bb6127f376d5","name":"Bio","server":"950a9e7ec0ee819e","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_bio_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"bio","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":550,"y":700,"wires":[["7e4d99dba7bacca9"]]},{"id":"83100ce4a9e76f0a","type":"api-current-state","z":"5004bb6127f376d5","name":"Plastik","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"0","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_plastik_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"plastik2","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":550,"y":520,"wires":[["7e4d99dba7bacca9"],["7198ae3a1118f49b"]]},{"id":"8e91bcb5fa73e440","type":"inject","z":"5004bb6127f376d5","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":340,"y":400,"wires":[["7a58f306c2b46435"]]},{"id":"ba2b2781d97e2125","type":"api-current-state","z":"5004bb6127f376d5","name":"Gabaryty","server":"950a9e7ec0ee819e","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_gabaryty_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"gabaryty","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":540,"y":760,"wires":[["7e4d99dba7bacca9"]]},{"id":"0ecbe6136174b8f9","type":"api-current-state","z":"5004bb6127f376d5","name":"Gabaryty","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"Dzisiaj","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_gabaryty_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1057,"y":700,"wires":[["222f475689289b25"],["930bfa373cf16a8a"]]},{"id":"222f475689289b25","type":"function","z":"5004bb6127f376d5","name":"wielkogabarytowych","func":"msg.wiadomosc = msg.wiadomosc+\n    \", wielkogabarytowych\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1280,"y":680,"wires":[["930bfa373cf16a8a"]]},{"id":"7e4d99dba7bacca9","type":"switch","z":"5004bb6127f376d5","name":"Jutro/dzisiaj","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Dzisiaj","vt":"msg"},{"t":"eq","v":"Jutro","vt":"msg"}],"checkall":"true","repair":false,"outputs":2,"x":750,"y":600,"wires":[["bffbf184860fd745"],["02c629c48624e817"]]},{"id":"439d228248e59002","type":"api-current-state","z":"5004bb6127f376d5","name":"zmieszane","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"Jutro","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_odpady_zmieszane_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1050,"y":800,"wires":[["7bb32f6c012d350c"],["b686c6d243013bb7"]]},{"id":"7bb32f6c012d350c","type":"function","z":"5004bb6127f376d5","name":"odpadów zmieszanych","func":"msg.wiadomosc = msg.wiadomosc+\n    \"odpadów zmieszanych\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1250,"y":800,"wires":[["b686c6d243013bb7"]]},{"id":"02c629c48624e817","type":"function","z":"5004bb6127f376d5","name":"Śmieci jutro","func":"msg.wiadomosc = msg.wiadomosc+\n    \" Przypominam, jutro jest wywóz śmieci\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":850,"y":660,"wires":[["439d228248e59002"]]},{"id":"b686c6d243013bb7","type":"api-current-state","z":"5004bb6127f376d5","name":"Plastik","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"Jutro","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_plastik_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1070,"y":850,"wires":[["ede391638eca0f73"],["0afbf7be972b7cf6"]]},{"id":"ede391638eca0f73","type":"function","z":"5004bb6127f376d5","name":"plasiku","func":"msg.wiadomosc = msg.wiadomosc+\n    \", plastików\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1210,"y":850,"wires":[["0afbf7be972b7cf6"]]},{"id":"0afbf7be972b7cf6","type":"api-current-state","z":"5004bb6127f376d5","name":"papier","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"Jutro","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_papier_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1070,"y":890,"wires":[["b8f51c01e8cb245a"],["0b1e2c613f723dfa"]]},{"id":"b8f51c01e8cb245a","type":"function","z":"5004bb6127f376d5","name":"papieru","func":"msg.wiadomosc = msg.wiadomosc+\n    \", papieru\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1210,"y":890,"wires":[["0b1e2c613f723dfa"]]},{"id":"0b1e2c613f723dfa","type":"api-current-state","z":"5004bb6127f376d5","name":"Szkło","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"Jutro","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_szklo_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1070,"y":930,"wires":[["38bc59096c94ae86"],["cdeb8101ad64ed2d"]]},{"id":"38bc59096c94ae86","type":"function","z":"5004bb6127f376d5","name":"szkła","func":"msg.wiadomosc = msg.wiadomosc+\n    \", szkła\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1200,"y":930,"wires":[["cdeb8101ad64ed2d"]]},{"id":"cdeb8101ad64ed2d","type":"api-current-state","z":"5004bb6127f376d5","name":"Bio","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"Jutro","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_bio_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1070,"y":980,"wires":[["011391409f783c21"],["f5f6e61e6361dbb6"]]},{"id":"011391409f783c21","type":"function","z":"5004bb6127f376d5","name":"bio","func":"msg.wiadomosc = msg.wiadomosc+\n    \", bio\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1200,"y":970,"wires":[["f5f6e61e6361dbb6"]]},{"id":"f5f6e61e6361dbb6","type":"api-current-state","z":"5004bb6127f376d5","name":"Gabaryty","server":"950a9e7ec0ee819e","version":3,"outputs":2,"halt_if":"Jutro","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.next_gabaryty_collection","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":1060,"y":1040,"wires":[["3a6231d07ba22f59"],["930bfa373cf16a8a"]]},{"id":"3a6231d07ba22f59","type":"function","z":"5004bb6127f376d5","name":"wielkogabarytowych","func":"msg.wiadomosc = msg.wiadomosc+\n    \", wielkogabarytowych\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1260,"y":1020,"wires":[["930bfa373cf16a8a"]]},{"id":"950a9e7ec0ee819e","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]

najważniejsze - zawsze cokolwiek chcesz osiągnąć testuj na funkcji DEBUG z opcją Complete msg object:
image
image

wtedy widać dokładnie to co wypluwa dany bloczek i wtedy już łatwiej podzielić zadanie:)
jeżeli sensor.wywoz_zmieci wyrzuca dane typu INTiger (2 brak wywozu, 1 wywóz jutro, 0 wywóz dziś) wtedy bierzemy przez bloczek SWTICH i do odpowiedniej nogi podpinamy funkcję która wrzuci w wiadomość odpowiedni tekst :slight_smile:
ja u siebie dużo danych na “dzień dobry” zbieram więc mogę podesłać swój przykład jak ktoś chce:

Hej
Jak ułożyć składnię do polecenia wysłania wiadomości zamiast na głośnik googla to na notify: mobile_app tak żeby odtwarzało zadaną wiadomość ze statusu porannego? z odtwarzaniem tts_text z automatyzacji nie ma problemu, a na node-RED nie mogę sobie z tym poradzić…

Mam ciągle informację:

14.11.2022, 09:33:00node: Notyfikacja_telefonu
msg :
{ domain: "notify", service: "mobile_app_lenovo_tb_x606f", data: object }
14.11.2022, 09:33:00node: Notyfikacja_telefonu
msg : string[61]
"Call-service error. extra keys not allowed @ data['tts_text']"