Adding recognized services to Espruino Hub - config.json #1073
Replies: 2 comments
-
Posted at 2021-10-01 by @gfwilliams Hi, One thing I do notice is:
The Also, I think you changed the wrong thing on advertised_services... The default example is:
and I think you wanted to do:
Looks like you changed |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-10-01 by HeneryH_(Henery_Hawk) Awesome, that worked. Both fixes. I can't tell you how much I appreciate this help. I think I did the appropriate amount of trying/learning/failing on my own but started running out of things to try. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-10-01 by HeneryH_(Henery_Hawk)
I had much of this working a while back but am starting a new project from scratch.
To start back at step 0, I am just trying to advertise a couple of puck metrics and pick them up in Node-Red.
Here is the puck code...
On the pi node-red flow I have very simple mqtt receivers and debug statements.

The battery and temp are coming through just fine but I cannot get the presses 0x1811 to work.
At first I subscribed to /ble/advertise/e9:1d:0b:37:51:d3/1811 which was not working.
Then I read more closely in the instructions which said
So maybe my config.json had that turned off, which it did. I also saw in the config the ability to name services so I tried to put a name to 0x1811 but might be doing that wrong.
I set these two changes from the default config.json.
I know I am doing something stupid wrong and I used to have this all working fine.
Can anyone spot my error?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions