Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate simulated time into drools rules #10

Closed
3 tasks done
dandrid opened this issue Sep 11, 2017 · 4 comments
Closed
3 tasks done

Integrate simulated time into drools rules #10

dandrid opened this issue Sep 11, 2017 · 4 comments
Assignees

Comments

@dandrid
Copy link
Collaborator

dandrid commented Sep 11, 2017

  • Use HomeIO SDK Date time to assign new time stamps
  • Automatic lights switch off ( large time window )
  • Use an external service for sunrise calculation trough ESH binding
@dandrid dandrid added this to the Virtual IoT Meetup Demo milestone Sep 11, 2017
@dandrid dandrid self-assigned this Sep 11, 2017
@dandrid dandrid closed this as completed Sep 18, 2017
@rafluq
Copy link

rafluq commented Jan 3, 2019

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

@dandrid
Copy link
Collaborator Author

dandrid commented Jan 3, 2019

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.

@rafluq
Copy link

rafluq commented Jan 3, 2019 via email

@dandrid
Copy link
Collaborator Author

dandrid commented Jan 8, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants