The daemon should really be going through the backend API for updating sensor data in the database.
Essentially the entire app flow should look like this
hardware <-> daemon <-> api <-> frontend
The daemon sits between the api and the hardware, the api sits between the daemon and the frontend.