Fix notification insert into db
Report notifications in api/device endpoint
Public access to sensor historic data for anon devices