This moves all the things and rules logic away from NymeaCore into their respective modules where it belongs. One major change is the removal of the removePolicy functionality. This was somewhat broken as it was only working for rules but not for all the other modules like scripts, experiences etc. After an attempt to create something that works with all modules it really seemed that this does not make a lot of sence after all, given that updating rules would in most cases leave something very broken behind and removing them was the only sane thing to do. On the other hand, experience plugins may not work well with such a policy eithre as they may require to do their own special thing. So in the end the removePolicy was dropped altogether. Apps should instead figure out themselves what removal of a thing may imply and inform the user about that beforehand.
nymea - open source IoT edge server
nymea (/[n'aiːmea:]/ - is an open source IoT edge server. The plug-in based architecture allows to integrate protocols and APIs. With the build-in rule engine you are able to interconnect devices or services available in the system and create individual scenes and behaviours for your environment.
Quick start
Install nymea on a Raspberry Pi
We have created an image for your Raspberry Pi (all models) that comes with an array of plugins for different smart devices!
Use the Raspberry Pi imager and select nymea as operating system. You'll have the choice between a headless nymea:core setup or a kiosk image that contains nymea:core and nymea:app for Raspberry Pis with touch screen.
Alternatively, the image can be downloaded and flashed manually from here. We recommend the latest Raspberry Pi OS Bullseye core or kiosk image.
Get nymea:app here:
Manual download files of nymea:app can be found here.
A detailed description how to install and getting started with nymea can be found in the nymea | user documentation.
Getting help
If you want to present your project or want to share your newest developments you can share it in Our Forum
If you are facing any troubles, don't hesitate to reach out for us or the community members, we will be pleased to help you: Chat with us on Telegram or Discord
Developing with nymea
A detailed documentation on how to develop with nymea is available on the nymea | developer documentation.
Network discovery
When starting nymead as user without root privileges, the network device discovery will not available due to missing raw socket permission. If you still want to make use of this feature, the binary capabilities need to be adjusted.
sudo setcap cap_net_admin,cap_net_raw=eip /usr/bin/nymead
This will allow nymead to create raw sockets for ARP and ICMP network discovery tools even when nymead gets started as user without root privileges.
License
nymea is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.