אני משתמש זמן רב בOpenHab עם המון חוקים, אבל לאחרונה נתקלתי במשהו שקצת לא מובן לי ואשמח לעזרה במידה ומישהו כבר יודע.
הייתי עד עכשיו ב Simple Mode כלומר שכל רכיב שהוספתי אוטומטית נוצר לו Things ומשם Items מכל Channel.
אני הולך לכבות את זה, אבל:
1. האם עדיין יופיע לי הChannels רק בלי Item מקושר ?
2. אם אני עכשיו אוריד את הסימון מהChannel אז הוא יעלם או רק הItem שלו יעלם ?
בית חכם מבוסס על openHAB המדריך השלם (מתעדכן)
- zovirax
- חבר במועדון ה-15K
- הודעות: 15619
- הצטרף: פברואר 2006
- שם מלא: zovirax
- נתן תודות: 269 פעמים
- קיבל תודות: 303 פעמים
@Chura
תראה פה
https://github.com/arendst/Tasmota/wiki/openhab
אני מנסה להגדיר כמו שכתוב פה
התקנתי את ה MQTT Broker Moquette תחת MISC
התקנתי את ה MQTT Binding
הגדרתי לפי הדוגמאות פה:
https://github.com/arendst/Tasmota/wiki ... ttv2-mqtt2
את ה Bridge
ואת ה Thing
יש לי error באיתחול של ה Openhab
2019-12-22 12:45:13.550 [ERROR] [org.openhab.io.mqttembeddedbroker ] - bundle org.openhab.io.mqttembeddedbroker:2.5.0 (301)[org.openhab.io.mqttembeddedbroker.internal.EmbeddedBrokerService(10)] : Error during instantiation of the implementation object
וגם כנראה לא מצליח להתחבר
2019-12-22 17:06:05.979 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2019-12-22 17:06:05.985 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid DVES_0452C3
אשמח אם תסביר לי איך אתה הגדרת
מה אני מפספס
תראה פה
https://github.com/arendst/Tasmota/wiki/openhab
אני מנסה להגדיר כמו שכתוב פה
התקנתי את ה MQTT Broker Moquette תחת MISC
התקנתי את ה MQTT Binding
הגדרתי לפי הדוגמאות פה:
https://github.com/arendst/Tasmota/wiki ... ttv2-mqtt2
את ה Bridge
ואת ה Thing
יש לי error באיתחול של ה Openhab
2019-12-22 12:45:13.550 [ERROR] [org.openhab.io.mqttembeddedbroker ] - bundle org.openhab.io.mqttembeddedbroker:2.5.0 (301)[org.openhab.io.mqttembeddedbroker.internal.EmbeddedBrokerService(10)] : Error during instantiation of the implementation object
וגם כנראה לא מצליח להתחבר
2019-12-22 17:06:05.979 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2019-12-22 17:06:05.985 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid DVES_0452C3
אשמח אם תסביר לי איך אתה הגדרת
מה אני מפספס
- zovirax
- חבר במועדון ה-15K
- הודעות: 15619
- הצטרף: פברואר 2006
- שם מלא: zovirax
- נתן תודות: 269 פעמים
- קיבל תודות: 303 פעמים
@Chura
התקדמתי
הבנתי שרץ לי mosquitto למרות שחשבתי שהרגתי אותו כבר
לא משנה - הרגתי את הפרוסס
אבל עכשיו אני בבעיה אחרת
השתמשתי בדוגמא הזאת:
https://github.com/arendst/Tasmota/wiki ... ttv2-mqtt2
אבל מה שקורה - אני מפעיל את הסוויץ או דרך התוכנה או דרך הממשק של ה Tasmota (מתג דוד) והוא משתגע - נדלק נכבה אינסוף
אשמח לדוגמא עובדת אצל מישהו....
התקדמתי
הבנתי שרץ לי mosquitto למרות שחשבתי שהרגתי אותו כבר
לא משנה - הרגתי את הפרוסס
אבל עכשיו אני בבעיה אחרת
השתמשתי בדוגמא הזאת:
https://github.com/arendst/Tasmota/wiki ... ttv2-mqtt2
אבל מה שקורה - אני מפעיל את הסוויץ או דרך התוכנה או דרך הממשק של ה Tasmota (מתג דוד) והוא משתגע - נדלק נכבה אינסוף
אשמח לדוגמא עובדת אצל מישהו....
- zovirax
- חבר במועדון ה-15K
- הודעות: 15619
- הצטרף: פברואר 2006
- שם מלא: zovirax
- נתן תודות: 269 פעמים
- קיבל תודות: 303 פעמים
@ahiel
מכל הרכיבים פה:
יש פה משהו שמתנגש?
[left]
209 x Active x 80 x 1.1.2 x hivemq-mqtt-client
214 x Active x 80 x 4.1.42.Final x Netty/Codec/MQTT
244 x Active x 80 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT Broker Binding
245 x Active x 81 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT Things and Channels
246 x Active x 82 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT HomeAssistant Convention
247 x Active x 82 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT Homie Convention
263 x Active x 80 x 2.5.0 x openHAB Core :: Bundles :: MQTT Transport
269 x Active x 75 x 2.5.0 x openHAB Add-ons :: Bundles :: IO :: MQTT Broker Moquette
[/left]
מכל הרכיבים פה:
יש פה משהו שמתנגש?
[left]
209 x Active x 80 x 1.1.2 x hivemq-mqtt-client
214 x Active x 80 x 4.1.42.Final x Netty/Codec/MQTT
244 x Active x 80 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT Broker Binding
245 x Active x 81 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT Things and Channels
246 x Active x 82 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT HomeAssistant Convention
247 x Active x 82 x 2.5.0 x openHAB Add-ons :: Bundles :: MQTT Homie Convention
263 x Active x 80 x 2.5.0 x openHAB Core :: Bundles :: MQTT Transport
269 x Active x 75 x 2.5.0 x openHAB Add-ons :: Bundles :: IO :: MQTT Broker Moquette
[/left]
- zovirax
- חבר במועדון ה-15K
- הודעות: 15619
- הצטרף: פברואר 2006
- שם מלא: zovirax
- נתן תודות: 269 פעמים
- קיבל תודות: 303 פעמים
@ahiel
יש שליטה - זה הקטע - משהו לא נכון שם
ברגע שיש שינוי מצב - הוא נכנס ללופ של הדלקה כיבוי - טקטוקים
אולי ה JSON לא טוב
לא ברור לי איפה אני טועה
[left]
Thing topic sonoff_TH_Thing "Light_TH" {
Channels:
Type switch : PowerSwitch [ stateTopic="stat/tasmota_0452C3/POWER" ,
transformationPattern="JSONPATH:$.POWER" ,
commandTopic="cmnd/tasmota_0452C3/POWER" ,
on="ON",
off="OFF" ]
}
[/left]
יש שליטה - זה הקטע - משהו לא נכון שם
ברגע שיש שינוי מצב - הוא נכנס ללופ של הדלקה כיבוי - טקטוקים
אולי ה JSON לא טוב
לא ברור לי איפה אני טועה
[left]
Thing topic sonoff_TH_Thing "Light_TH" {
Channels:
Type switch : PowerSwitch [ stateTopic="stat/tasmota_0452C3/POWER" ,
transformationPattern="JSONPATH:$.POWER" ,
commandTopic="cmnd/tasmota_0452C3/POWER" ,
on="ON",
off="OFF" ]
}
[/left]
@Dymatize
·הגדרת מה שצריך להגדיר בopenhab cloud?
עיין כאן:
https://www.openhab.org/addons/integrat ... nhabcloud/
·הגדרת מה שצריך להגדיר בopenhab cloud?
עיין כאן:
https://www.openhab.org/addons/integrat ... nhabcloud/