Avatar

Dougie

Dougie

About

Username
Dougie
Joined
Visits
338
Last Active
Roles
Member

Comments

  • Have Glow fallen foul of the five Sundays in October (DST ends on the last Sunday) this year? @JaneAtGlow @clivee
    in Which date? Comment by Dougie October 24
  • Try this  mosquitto_sub -p 8883 --capath /etc/ssl/certs -h glowmqtt.energyhive.com -u "someone@gmail.com" -P somethingsecret -t "SMART/HILD/CAFEDEADBEEF"  No protocol needed on the host name.
  • Are you using the latest versions of the Mosquitto client programs? http://mosquitto.org/download/ ii libmosquitto-dev:armhf        2.0.12-0mosquitto1~buster1    armhf    MQTT version 3.1/3.1.1/5.0 client library, development files ii libmosquitto1:…
  • It's working for me right now. Thank you.
    in mqtt outage Comment by Dougie October 13
  • I've not recorded a gas reading since 2021-10-12 15:51:14. @clivee
    in mqtt outage Comment by Dougie October 13
  • @clivee  @JaneatGlow need to look at this. The MQTT feed is dead again.
    in mqtt outage Comment by Dougie October 13
  • You're missing the TLS support and the port number is wrong.  --capath /etc/ssl/certs -p 8883
  • Send an email to support@glowmarkt.com with your IHD serial number to get Clive and/or Jane to take a look at this for you.
  •  mosquitto_sub -p 8883 --capath /etc/ssl/certs -h glowmqtt.energyhive.com -u "example@gmail.com" -P superSecretPassword -t "SMART/HILD/DEADBEEFCAFE"  I use --capath rather than --cafile as that gets mosquitto_sub to search for th…
  • @clivee thanks for confirming I wasn't going mad. I have a process that's always reading my MQTT data.
  • @clivee @janeatglow my IHD still isn't showing the Octopus Go tariff, what do I do next?
  • To convert the m^3 value for gas consumption to kWh, BTU or joules you need to know the calorific value from your gas supplier. https://www.nationalgrid.com/uk/gas-transmission/data-and-operations/calorific-value-cv
  • What happens if you change the topic from SMART/DCAD/BCDDC2C6A780  to SMART/+/BCDDC2C6A780 (using the MQTT topic wild card support)? 
    in MQTT Issues Comment by Dougie July 21
  • I do have the BrightApp and I am using the MQTT API (which is very good and reliable with the latest firmware on my IHD). I was just looking to tinker with the stuff on the Glowmarkt website, but it's to much of a pain to get it working.
  • https://glowmarkt.com/register.html needs improvement. I've been through that page more than once yet it treats me as a "new user" every time I re-visit. Store a token in a cookie and don't ask all the MPAN etc. questions all over again (u…
  • @clivee It worked perfectly for me just using `mosquitto_sub` so I've built that into all of my API code. Here's a simple example. #include <stdio.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <m…
  • Then you'll need to ask @JaneatGlow or @clivee to check your credentials and reset them.
  • Try this  mosquitto_sub -p 8883 --capath /etc/ssl/certs -h glowmqtt.energyhive.com -u "example@gmail.com" \  -P mySecretHere -t "SMART/+/CAFEDEADBEEF"   With the obvious changes for username, password and hardware ID.
  • What programming language do you want to use? I've got some code written in C/C++ that pulls the Glowmarkt data (some of it goes into a MySQL database) that runs on a Raspberry. It'd need a bit of a tidy-up before I could publish it on Github.
  • I didn't need any docs, because the only hard part of getting started with my IHD was filling in my email address and password after getting it connected to my secure WiFi. Demo mode is all that's needed.
  • The green LED shows your current household load. Try turning on some things like the kettle, the EV charger, the oven (if it's electric), the microwave. The IHD also has a "demo" mode where it demonstrates some of the things it can do.
  • You can obtain a new token programmatically with: #!/bin/bash curl -X POST -H "Content-Type: application/json" -H "applicationId: b0f1b774-a586-4f72-9edd-27ead8aa7a8d" \ -d '{ "username": "notme@example.com",…
  • If I subscribe to "SMART/+/CAFEDEADBEEF" (obviously with my valid Glow ID) it doesn't matter whether it's HILD or DCAD or IGLOO.
  • Then you'll need to run Wireshark / tcpdump to see what's going up and down the wire. Since it's using port 8883 (mqtts) you'll need to look at doing bad things with a pre-master key (so you can decrypt the traffic when you analyse it). https://gitl…
    in MQTT No Data Comment by Dougie April 19
  • Change SMART/HILD/C82B96A2DF38/ To SMART/HILD/C82B96A2DF38
    in MQTT No Data Comment by Dougie April 18
  • This is a redacted version of what I've got in my Mosquitto bridge (in /etc/mosquitto/conf.d/glowmarkt.conf) connection glowmqtt address glowmqtt.energyhive.com:8883 try_private false notifications true start_type automatic keepalive_interval 300 cl…
    in MQTT Woes Comment by Dougie April 16
  • OK so that is a signed value and the data consumer needs to handle the two's complement value correctly in their code.
  • The trouble is that what being delivered conflicts with the SEP (Page 248). https://zigbeealliance.org/wp-content/uploads/2019/12/docs-07-5356-19-0zse-zigbee-smart-energy-profile-specification.pdf 0x0402 CurrentDayConsumption Received Unsigned 24-bi…
  • You shouldn't need to handle negative numbers, the consumption numbers can *never* be negative (unless you've got solar being exported). There's an error in your data (from the Glowmarkt/Hildebrand API), that's what needs to be fixed.
  • That doesn't address the problem. The problem is that consumption is ALWAYS a positive value.