Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SonOff pow R2 vs BLITZWOLF_BWSHPX vs BLITZWOLF_BWSHPX_V23 - MQTT data #1581

Closed
AlbertWeterings opened this issue Feb 25, 2019 · 4 comments
Closed
Labels
enhancement New feature or request staged for release
Milestone

Comments

@AlbertWeterings
Copy link
Contributor

I noticed that different power energy meters are sending different sets of data via the MQTT json message /data

Some of these meters have the same data available in the web GUI so why not send the same data in the MQTT message. This makes it easier to handle if for example you want to store data in a database or external application.

I did a quick search to find where the data set is created but was not able to find it. If someone can point me in the right direction I would like to try to make sets for different meters the same.

@AlbertWeterings AlbertWeterings added the enhancement New feature or request label Feb 25, 2019
@AlbertWeterings AlbertWeterings changed the title SonOff pow R2 vs BLITZWOLF_BWSHPX vs BLITZWOLF_BWSHPX_V23 SonOff pow R2 vs BLITZWOLF_BWSHPX vs BLITZWOLF_BWSHPX_V23 - MQTT data Feb 25, 2019
@AlbertWeterings
Copy link
Contributor Author

I think I figured it out for SonOff Pow R2 but as i'm traveling I'm not able to check if this works. could someone put the file CSE7766Sensor.h in his sensors folder compile ESPURNA 1.13.4 or 1.13.5, write it to a SonOff pow R2 and check if:

  1. ReactivePower is measured.
  2. If it is in a MQTT channel.
  3. If it is in the objects if JSON is enabled.
  4. A list of all JSON objects.

CSE7766Sensor.zip

@AlbertWeterings
Copy link
Contributor Author

Pull Request #1591 solves my issue for CSE7766 Sensor based units.

@xoseperez
Copy link
Owner

#1591 is mostly OK except for the reactive power calculation. There should really be a sqrt there 😄

@mcspr
Copy link
Collaborator

mcspr commented Mar 21, 2019

fixed by the b902902

@mcspr mcspr closed this as completed Mar 21, 2019
@mcspr mcspr added this to the 1.13.6 milestone Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request staged for release
Projects
None yet
Development

No branches or pull requests

3 participants