Closed dandrid closed 7 years ago
Hi, my name is Rafael and I'm doing a project for university about home i/o and openhab. I'm looking for information and help about this project to write the code, could you help me? Thank you very much
Hi @rafluqber95! If you just want to use HomeIO in ObenHAB, you need the OpenHAB HomeIO MQTT bridge project. To sum up, that project connects to HomeIO through the HomeIO SDK, registers for HomeIO events (e.g. devices changes), converts the events into an OpenHAB acceptable format, and sends through MQTT topics. It also listens to events coming from OpenHAB through MQTT and converts them into a HomeIO acceptable format, and executes the changes.
However, OpenHAB needs to be configured in order to use MQTT and the items representing the HomeIO devices also needs to be in the configuration. This project (Smarthome Cep Demonstrator), adds a new rule engine to OpenHAB called Drools, and there are also automation rules created for HomeIO in this Drools rule engine. I don't think you will need this part, but this project also contains OpenHAB configuration files, which can be good for you here. From here, the HomeIO related config files (.items), and the MQTT service configuration files (.cfg), can be used for you. You have to put them into your OpenHAB config folder.
If you need help in something else. I will try to help.
Hi András,
Thank you very much for your response. I have configured Mosquitto on OpenHAB, and I’m trying to use “openhab-homeio-mqtt-bridge-master” on VisualStudio but I have a problem:
[cid:image002.png@01D4A3B5.E11BF1A0]
I can’t find M2Mqtt.net library to run the Project. How could I solve it?
Thank you very much for your help again. Happy new year.
Best regards,
Rafael
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10
De: András Jankó notifications@github.com Enviado: Thursday, January 3, 2019 2:07:14 AM Para: IncQueryLabs/smarthome-cep-demonstrator Cc: rafluqber95; Mention Asunto: Re: [IncQueryLabs/smarthome-cep-demonstrator] Integrate simulated time into drools rules (#10)
Hi @rafluqber95https://github.com/rafluqber95! If you just want to use HomeIO in ObenHAB, you need the OpenHAB HomeIO MQTT bridgehttps://github.com/IncQueryLabs/openhab-homeio-mqtt-bridge project. To sum up, that project connects to HomeIO through the HomeIO SDK, registers for HomeIO events (e.g. devices changes), converts the events into an OpenHAB acceptable format, and sends through MQTT topics. It also listens to events coming from OpenHAB through MQTT and converts them into a HomeIO acceptable format, and executes the changes.
However, OpenHAB needs to be configured in order to use MQTT and the items representing the HomeIO devices also needs to be in the configuration. This project (Smarthome Cep Demonstrator), adds a new rule engine to OpenHAB called Droolshttps://www.drools.org/, and there are also automation rules created for HomeIO in this Drools rule engine. I don't think you will need this part, but this project also contains OpenHAB configuration files, which can be good for you herehttps://github.com/IncQueryLabs/smarthome-cep-demonstrator/tree/master/smarthome-simulator/HomeIO/homeio-resources/distro-resources/src/main/resources. From here, the HomeIO related config files (.items), and the MQTT service configuration files (.cfg), can be used for you. You have to put them into your OpenHAB config folder.
If you need help in something else. I will try to help.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/IncQueryLabs/smarthome-cep-demonstrator/issues/10#issuecomment-451032622, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZvy-R9NeLxwZDqD0ll-ivSiReV_UkJ-ks5u_VfCgaJpZM4PTSp6.
Hi @rafluqber95!
M2Mqtt.net library is acquired through Visual Studio NuGet packages. This means, it should be downloaded by VS. If it wasn't, maybe this thread will help, to download it automatically. I think you can also download this package manually, by right clicking on the solution, and Restore NuGet packages.
I temporary set my email to public on my GitHub profile. Please contact me there, if you need help in anything else.