Sure, sorry. So… the first post is solely about nymea:app, the second only about nymea:core.
So to clarify:
nymea:core is the IoT edge gateway, kinda like a bridge for all your devices. It connects IoT devices in the local network (and online services etc). The typical use case would be that this runs on e.g. a Raspberry Pi, but works on a desktop just as well. It supports headless Wi-Fi setup by provisioning Wi-Fi credentials to networkmanager which it receives from nymea:app via Bluetooth. The needed interfaces are
- avahi-observe (to find IoT devices)
- avahi-control (to advertise itself)
- bluez (to connect to IoT devices and advertise itself)
- network-manager (to control the network - mostly useful in the embedded use case. On a desktop it’s kinda “yet another networkmanager frontend”)
nymea:app is the user frontend for this all, running on phones, desktops, tablets etc… It connects only to nymea:core and does not directly interact with other IoT devices. It needs:
- avahi-observe (to find nymea:core in the network)
- bluez (to do the initial Bluetooth-to-Wifi setup of headdless device running nymea:core)
I hope that makes it clear.