17.03.2022, 08:45
(16.03.2022, 09:24)admin Wrote: Most probably something is missing in the configuration on Netatmo side. LM is simply logging all received requests. It might be also possible that the JSON string is incorrect. Try logging the body variable contents:Thanks, I added in the log(body), returns a string - same as decoded json
Code:<?
require('apps')
-- read POST data
body = ngx.req.get_body_data()
log(body)
Looking into it, it seems this is broken on the Netatmo side, the camera I have is an outdoor camera “NOC” , it sends the smart events to the Netatmo app but not to the webhook… (but other events from the Netatmo web are sent to the webhook) just not the ones that are actually useful…
looks like it is a Netatmo firmware issue.
Has anyone else been successfully using this method? If so what camera/ and firmware version is being used?