Comments (6)
Hi!
Try to add parameter No. 0 in log_parameters array in BSB_lan_config.h
from bsb-lan.
Really? How can an additional parameter 0 change the format of another parameter?
from bsb-lan.
Oops. My mistake.
I look on code. I think this is because the date and time string contains a whitespace.
MQTTClient.publish(MQTTTopic.c_str(), strtok(query(log_parameters[i],log_parameters[i],1)," "));
from bsb-lan.
Yes, that is the problem. Some users wanted the unit to be stripped from the actual value, so the general approach was to drop everything following the first whitespace. In the case of date and time, this obviously does not work and I'll have to hard-code this into the JSON output.
from bsb-lan.
New version online, please check with current master branch if date and time are now transmitted correclty via MQTT and report back here.
from bsb-lan.
Again, thank you very much. It works perfectly fine.
from bsb-lan.
Related Issues (20)
- [BUG] wrong mday in logging HOT 3
- [BUG] Datalog contains values with date 00.01.1900 HOT 19
- Bind log_interval to RTC not millis() HOT 3
- [BUG] bsb-lan fails to close http connection after delivering home page HOT 15
- [FEATURE REQUEST] Streamline accessing multiple devices on the bus HOT 24
- [BUG] MQTT DHW push button, publish "BSB-LAN/10019=1" not working HOT 2
- [FEATURE REQUEST] Modifying the graph to allow the long-term data logging HOT 166
- [BUG] Arduino Due does not respond shortly after start HOT 3
- [BUG] ESP32 resets in a loop by watchdog HOT 2
- [BUG] Just FYI because for old version: lines 2505 and 2504 in cmdtbl are mixed up HOT 3
- [BUG]? averages use even param numbers only HOT 1
- 'esp32_save_energy' was not declared in this scope [BUG]
- [BUG] Crash on opening sensor page (Guru Meditation Error: Core 1 panic'ed) HOT 30
- won't compile esp32_save_energy HOT 8
- [BUG] WiFi problems on OpenWrt HOT 14
- [BUG] brute-force.pl script does not query the right HEX code HOT 3
- [BUG] No readable EEPROM address for option 62 during boot log HOT 25
- [BUG] Web-UI does not show any parameters other than "0 .. 4" HOT 4
- [BUG] v3.1.17 (3.2?) causes many timeouts for web-requests/url-commands HOT 16
- [QUESTION] Removing Led HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsb-lan.