arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.22k stars 4.81k forks source link

Tasmota Mqtt Google IoT Core #8568

Closed xiskoct closed 4 years ago

xiskoct commented 4 years ago

Hello, I am trying to connect tasmota to the iot core mqtt broker, for this I am following the same steps as AWS IOT Core mqtt.

I am getting the following error:

19:57:09 MQT: TLS connection error: 62 19:57:09 MQT: Connect failed to mqtt.googleapis.com:443, rc -2. Retry in 10 sec 19:57:20 MQT: Attempting connection ...

Error 62: X509 not trusted, the server certificate is not signed by the CA (AWS IoT or LetsEncrypt)

In TLSKey1 I have assigned the value of private key. In TLSKey2 I have uploaded the root certificate of google iot (wget pki.goog/roots.pem)

Is it possible to use tasmota to register the device without using a certificate, since in iot core it is not mandatory to use this?

I've tried commenting // #define USE_MQTT_TLS_CA_CERT and // #define USE_MQTT_AWS_IOT, but in this case I can't set the private key using the TLSKey command, it tells me the command doesn't exist.

Thank you.

Regards.

close-issue-app[bot] commented 4 years ago

This issue has been automatically closed because the issue template is missing or incomplete. Filling the template is required so standard questions don't need to be asked again each time. Our ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template with the requested information. The details requested potentially affect which options to pursue. The small amount of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce the time required to help you. Please, could you be so kind on completing the issue template in order to have more information so as to properly help you? Thank you for taking the time to report, hopefully it can be resolved soon. Support Information Wiki for more information. Chat for more user experience. Community for forum. Code of Conduct Contributing Guideline and Policy

chrisfraser commented 4 years ago

@xiskoct Did you win with this?

pawel-smth commented 3 years ago

@chrisfraser, @xiskoct , have you succeeded in getting T to work with GCP/ Cloud IoT Core (with or without that certificate)?

WardenCommander commented 3 years ago

anyone managed to connect this two (Google IoT Core and Tasmota) ?

pawel-smth commented 3 years ago

@WardenCommander

anyone managed to connect this two (Google IoT Core and Tasmota) ?

not me (though I've tried long time ago). If nothing has changed since then, and if you by chance figure out relatively lightweight workaround (some sort of MQTT proxy/retranslator or even Node Red), can you please share? My recent check on respective Node Red node has shown it's not really supported and thus seems doesn't work with current IoT Core env. Thank you!

lumanga commented 2 years ago

Hi all, ANY NEWS regarding the possibility to connect Tssmopta via MQTT to Google CLoud Platform (a Virtual machine EC2 with Debian and Node-Red?)