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

no quotes around Energy values in json #56

Closed
wants to merge 1 commit into from

Conversation

Nayar
Copy link

@Nayar Nayar commented Feb 11, 2017

Problem:
When sending the logs into Elasticsearch through Graylog, the Energy_Power fields are stored as strings instead of numbers. It's not possible to graph the items.

The proper JSON way would be to not quote ints and floats.

@arendst
Copy link
Owner

arendst commented Feb 11, 2017

You seem to be right after I gleaned over the JSON definition ;-)

I will update all floats to non strings in the near future.

Thnx for attending me.

arendst added a commit that referenced this pull request Feb 13, 2017
3.9.15 20170213
* Change JSON float values from string to number according to
http://json.org (#56)
* Add support for exs latched relay module
https://ex-store.de/ESP8266-WiFi-Relay-V31 (#58)
* Add support for inverted relays
* Changed MAX_LOG_LINES from 70 to 60 to preserve memory
@arendst
Copy link
Owner

arendst commented Feb 13, 2017

Implemented in version 3.9.15 just released

@arendst arendst closed this Feb 15, 2017
curzon01 pushed a commit to curzon01/Tasmota that referenced this pull request Sep 6, 2018
3.9.15 20170213
* Change JSON float values from string to number according to
http://json.org (arendst#56)
* Add support for exs latched relay module
https://ex-store.de/ESP8266-WiFi-Relay-V31 (arendst#58)
* Add support for inverted relays
* Changed MAX_LOG_LINES from 70 to 60 to preserve memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants