ChipChop Support Forum
Log in
Log out
Join the forum
My Details
REPLIES: 4
VIEWS: 364
BACK
REPLY TO THIS POST
36ccs
10 Jun 2025
Where is "Howdy Partner" Generated
I'm a new member. Arduino IDE: 2.3.6, Using NodeMCU 1.0 ESP8266 12E.

Watched the first tutorial, "Libraries".
Went on to the second tutorial and loaded the code. But not generating 'activity'.
First few lines of the monitor output:

WiFi Connecting..........................................Connected to WiFi.
{"status":"handshake","code":"dbxxxxxxxxxxx23"}
ChipChop => Socket connected
{"status":"Howdy Partner!"}
{"api_call":"heartbeat","command":"heartbeat","status":{"led":{"value":"OFF"}}}
{"status":"ok","timestamp":1749566653752}

Where is the "status" . "Howdy Partner" generated?
Is it coming from the CHIPCHOP web site or generated locally on the board?

Thanks in advance.
Gizmo
10 Jun 2025

Hiya,

Lol...very good question! The "Howdy Partner" is generated by the server, it's a welcome message and means that the device has successfully established the connection (tcp stuff, handshakes and all). The first ChipChop library used to send a "Howdy Server" and that was the response and it's a bit more warmer than receiving some numeric code :-)

Basically, if you get that message you are 100% good to go (https://chipchop.io/api_docs/api-handshake)


The {"api_call":"heartbeat","command":"heartbeat","status":{"led":{"value":"OFF"}}} is the library sending a heartbeat saying that there is one component called "led" and the state of the component is "OFF"

...and the {"status":"ok","timestamp":1749566653752} is the server response, meaning that it has received the heartbeat, processed any Actions you may have, informed Alexa if the device is linked, informed the Dev Console server and informed the App server about the new status.

The timestamp is the real time (in milliseconds) for your device based on the timezone you've specified so you don't need to use an extra RTC module for your esp8266 to know what the real time is
for example Serial.println(ChipChop.Date.formatted); will print out the exact "real time"

If you go in the Dev Console > Live Control (or the ChipChop app) and press the led button (i.e. turn it on) you will see in the serial monitor a command being sent to your esp and then you can do whatver logic you need to do to physically turn the led on (digitalWrite() etc...)

Let me know if you need more info

tc

G
Gizmo
10 Jun 2025

p.s. forgot to mention, just make sure that whatever your device is sending as a status has a correct corresponding definition in the Dev Console

if you are sending a status for a component called "led" you also need to have it included as a component on the server side and of a correct type i.e. Dev Console > Devices > some device > components > led - type ON/OFF or Light
36ccs
11 Jun 2025
ACCEPTED

Gizmo:

Thanks. I got it working.!!!

Your answer/advice steered me in the right direction.

(I was a little confused with the 'blink LED' tutorial. Calling the device an LED got me going in the wrong direction. I had not added the actual component, that being the built-in LED.)

It does make more sense to have the device be the microcontroller, ala ESP8266 and the component be the LED.

...now I'm on to the next tutorial.

36ccs
Gizmo
11 Jun 2025

awesome! :-)

keep me posted and if you get stuck just shout, I'm here

G