Zerynth to Google IoT Core with esp

Excited to get started with Zerynth. I got an esp8266 connected to Google Iot Core on another platform but there was a bit more hand holding. Following this
I’ve got the pkey via $ openssl asn1parse -in my_private.pem
Did above on the google cloud console since openssl on windows was a weird trip last time I tried.
I’ve cloned the Zerynth Studio > Examples > GoogleCloud > IoT > Controlled publish period
Where do I put the pkey? and do I also put the ec_private.pem in the Zerynth project folder?

Aside from link above are there any other walkthrough’s or tutorials for hooking up to Google IoT Core?
Thanks in advance

Hi @Larry_Reader,

unfortunately there is no support for TLS connections with esp8266 using Zerynth at the moment: I would suggest you to try our example on an esp32 based board.

The pkey should be put in a file called private.hex.key to be created inside Controlled Publish Period project folder and do not forget to fill device.conf.json with your device info :wink:

Detailed articles and tutorials on cloud connections will be published soon on our blog, so stay tuned for updates :slight_smile:

1 Like

I have been scratching my head trying to get this to work on the ESP8266 all evening too. This may be why!

I get this error on device.mqtt.connect()
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 32568, room 16
tail 8
chksum 0x94
load 0x3ffe8000, len 2272, room 0
tail 0
chksum 0x3f
load 0x3ffe88e0, len 7316, room 8
tail 12
chksum 0x83
csum 0x83
Lost connection!

Are there any plans to add TLS for the ESP8266?


Hi @chrisstubbs93,

unfortunately there are no plans at the moment to support TLS on esp8266, why not trying an esp32 instead? :slight_smile: