Open niltrip opened 2 months ago
First try to integrate PowerOcean via public API
@niltrip the main reason I didn't include your PR in the 1.1.0 release is that I didn't want to postpone the release and together with that I believe, that PowerOcean should become the first device with not plain data json support. jsonpath is already integrated, so you can define your entity mqtt key like 'ems.mpptHeartBeat[0].mpptPv[0].pwr'. Without having the device it is hard for me to provide the initial device support, so I was hoping you could try to implement it this way (I intended to support this approach, but I didn't even try it in real conditions).
PS. Make sure you overrides def flat_json(self) -> bool:
@tolwi no problem. For me this is the initial decive support ;-). I'm not a programmer but I'll try. So far I've tried to understand your source code. That's why I started a discussion #301 about whether I'm on the right track.
Thx @niltrip for pushing this forward. I just tested your PR and everything except bpSoc and bpPwr are 0 for me.
Thx @niltrip for pushing this forward. I just tested your PR and everything except bpSoc and bpPwr are 0 for me.
Hi, you only have values for bpSoc and bpPwr? How many parameter do you have for the device?
Hi, is it planned to release this in the near future?
PowerOcean with datapoints from public API