Λοιπόν, δουλεύει! (Απίστευτο αλλά δουλεύει)
Έχω 2 εκκρεμότητες μόνο. Η μία έχει να κάνει με το πως ρυθμίζω το SNZB-01 να ανοιγοκλείνει τον ZBMINI-L αλλά δεν το κοίταξα ακόμα.
Η άλλη εκκρεμότητα είναι με το να βάλω και τον μηχανικό διακόπτη - για backup σε περίπτωση που δεν λειτουργεί το zigbee για κάποιο λόγο. Αυτός έχει 2 εισόδους και 2 εξόδους, αλλά το ZBMINI-L έχει 2 (S1 και S2). Πως συνδέω τον διακόπτη τώρα;
Εμφάνιση 2.206-2.220 από 6148
-
21-03-23, 11:41 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2206You thought there would be a funny slogan here.
You just fell for one of my classical pranks.
Bazinga
-
21-03-23, 11:57 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2207
Εγώ είχες αργήσει να απαντήσεις και με είχε πιάσει ανησυχία
2πλο διακόπτη πήρες? απλά στον διακόπτη αν έχεις παραδοσιακό τοίχου, ανεξαιρέτως αν είναι διπλός ή μονός, θα πάρεις το S1 του ZBMINI θα μπει κάτω στο διακόπτη και η ΙΔΙΑ έξοδος (αν είναι διπλός ή ίδια αριστερή ή δεξιά μεριά με την είσοδο κάτω εννοώ) από πάνω θα γυρίσει πίσω στο S2 του ZBMINI.
Εγώ θα έβαζα επειδή είναι ντουλάπι, ένα διακόπτη τελείως απλό σαν αυτόν που ανάβει ένα πορτατιφ ας πούμε...There's no substitute for experience
CorollaClub
-
21-03-23, 12:04 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2208You thought there would be a funny slogan here.
You just fell for one of my classical pranks.
Bazinga
-
21-03-23, 13:23 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2209για backup σε περίπτωση που δεν λειτουργεί το zigbee για κάποιο λόγο.
-
21-03-23, 13:36 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2210You thought there would be a funny slogan here.
You just fell for one of my classical pranks.
Bazinga
-
21-03-23, 13:40 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2211
Πάνω κάτω θα μπουν τα καλώδια στην ίδια μεριά (αν είναι μονός δεν παίζει ρόλο, αν είναι διπλός ο διακόπτης ή και τα 2 αριστερά ή και τα 2 δεξιά για το ανάλογο κουμπί)
Νταξ τώρα να σημαδεύεις την τελίτσα είναι πακέτο....
Μπορείς να πάρεις και ένα τέτοιο και να βάλεις τα καλώδια μέχρι το πάτωμα του ντουλαπιού , κάνεις μια τρυπίτσα με το τρυπάνι όσο είναι το Push Button και το βάζειςθες push button που έχει ON/off και όχι απλά Push.
There's no substitute for experience
CorollaClub
-
21-03-23, 13:54 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2212
-
21-03-23, 14:00 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2213
Από κάτω στον πάγκο βρε, πίσω από το γείσο του ντουλαπιού θα έβγαινε το κουμπάκι...
Να σου πω την αλήθεια ποτέ δεν κατάλαβα γιατί ήθελες έλεγχο στο φως του πάγκου... εγώ διακόπτες από λάμπα δωματίου έχω κολλημένους και τέλος, oύτε καν σκέφτηκα να τα ελέγχω αυτά τα φώτα... με βάζεις σε σκέψεις )*(#&&*(^#&*
- - - Updated - - -
Άσχετο... είχα 5M Addressable Led Strip με 5050LED SK6812 που τα εχω καιρό .. πήρα ένα Shelly RGBW2 να παίξω μπας και τα βάλω στο παιδί....There's no substitute for experience
CorollaClub
-
25-03-23, 21:17 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2214
Nα πω ότι το chatgpt παράγει και κώδικα yaml για home assistant...
I want the notification text to include the sensor value
Sure, here's an updated automation that will include the current temperature value in the notification message:
yaml
Copy code
automation:
- alias: 'Freezer Temperature Alert'
trigger:
platform: numeric_state
entity_id: sensor.freezer_temperature
above: -14
action:
service: notify.mobile_app
data_template:
title: "Freezer Temperature Alert"
message: "The temperature of the freezer is {{ states('sensor.freezer_temperature') }}C, which is above -14C"
This automation is similar to the previous one, but uses data_template instead of data, allowing us to use a template for the message. The template includes {{ states('sensor.freezer_temperature') }}, which will be replaced with the current temperature value in Celsius when the notification is sent.
Make sure to replace notify.mobile_app with the actual name of the notification service you are using in your Home Assistant setup, and update sensor.freezer_temperature with the entity ID of your freezer temperature sensor.
I hope this helps! Let me know if you have any further questions.
-
25-03-23, 23:01 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2215
- Εγγραφή
- 08-01-2004
- Περιοχή
- Espoo, FI
- Ηλικία
- 52
- Μηνύματα
- 21.737
- Downloads
- 41
- Uploads
- 0
- Άρθρα
- 4
- Τύπος
- FTTH
- Ταχύτητα
- 1G/1G
- ISP
- Elisa
- Router
- Unifi Gateway Max
Ανυπόγραφος
-
27-03-23, 17:05 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2216
Εντάξει, δεν παίζεται:
I want your help with a home assistant project. I have a receiver that responds to the same on/off ir command to toggle on off.
I can send this ir command with home assistant.
I want to make a virtual device with discrete on off commands, such that when the reciever is already on and I issue the turn on command it won't emmit the ir code, effectively turning it off.To accomplish this in Home Assistant, you can create a template switch with two states: "on" and "off". The template switch will use a template to determine whether or not to send the IR code based on the current state of the receiver.
Here's an example configuration for the template switch:Κώδικας:switch: - platform: template switches: receiver: value_template: "{{ is_state('remote.receiver', 'on') }}" turn_on: - condition: template value_template: "{{ is_state('remote.receiver', 'off') }}" - service: remote.send_command data: entity_id: remote.receiver command: - "your IR command to turn on the receiver" turn_off: - service: remote.send_command data: entity_id: remote.receiver command: - "your IR command to turn off the receiver"
In this configuration, the value_template checks the current state of the receiver, and the turn_on and turn_off actions send the appropriate IR commands based on the current and desired states.
Note that in the turn_on action, there is a condition that checks if the receiver is currently off before sending the IR command to turn it on. This will prevent the IR command from being sent unnecessarily if the receiver is already on.I dont't have a sensor to monitor the state of the receiver. The automation should keep track of the stateIn that case, you can use an input boolean to keep track of the state of the receiver. Here's an example configuration:input_boolean:
receiver_state:
name: Receiver State
initial: off
switch:
- platform: template
switches:
receiver:
value_template: "{{ is_state('input_boolean.receiver_state', 'on') }}"
turn_on:
- condition: template
value_template: "{{ is_state('input_boolean.receiver_state', 'off') }}"
- service: remote.send_command
data:
entity_id: remote.receiver
command:
- "your IR command to turn on the receiver"
- service: input_boolean.turn_on
data:
entity_id: input_boolean.receiver_state
turn_off:
- condition: template
value_template: "{{ is_state('input_boolean.receiver_state', 'on') }}"
- service: remote.send_command
data:
entity_id: remote.receiver
command:
- "your IR command to turn off the receiver"
- service: input_boolean.turn_off
data:
entity_id: input_boolean.receiver_stateIn this configuration, the input_boolean.receiver_state keeps track of the state of the receiver. The value_template of the template switch checks the state of the input boolean to determine the state of the switch.
In the turn_on action, the condition checks if the input boolean is currently off before sending the IR command to turn on the receiver. After the IR command is sent, the input_boolean.turn_on service is called to set the state of the input boolean to on.
In the turn_off action, the condition checks if the input boolean is currently on before sending the IR command to turn off the receiver. After the IR command is sent, the input_boolean.turn_off service is called to set the state of the input boolean to off.
-
27-03-23, 20:19 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2217
Ξερει κανεις αν το Sonoff ZBBridge μπορει να κάνει mesh με άλλη, όμοια συσκευή;
Έχω έναν ZigBee σενσορα που είναι εκτός διαμερίσματος και δημιουργεί προβλήματα γιατί κάθε τόσο τον χάνω.
-
27-03-23, 20:28 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2218
-
27-03-23, 20:48 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2219
- Εγγραφή
- 08-01-2004
- Περιοχή
- Espoo, FI
- Ηλικία
- 52
- Μηνύματα
- 21.737
- Downloads
- 41
- Uploads
- 0
- Άρθρα
- 4
- Τύπος
- FTTH
- Ταχύτητα
- 1G/1G
- ISP
- Elisa
- Router
- Unifi Gateway Max
Λογικά οποιαδήποτε συσκευή ZigBee ενδιάμεσα μπορεί να βοηθήσει. Πρίζες, λάμπες, κλπ.
Ανυπόγραφος
-
27-03-23, 20:54 Απάντηση: Smart Home - Power Metering, Switching and General IOT devices. #2220
Τελευταία επεξεργασία από το μέλος BlueChris : 27-03-23 στις 22:39.
There's no substitute for experience
CorollaClub
Bookmarks