I am trying to config a ESP8266 with VCON to receive a json from an Arduino e post messages to MQTT like the example posted for ESP32.
Is it possible to Configure an ESP8266 to use protocol bridge mode (MQTT) with VCON ?
Is there a procedure on how to config this ?
I tried to use the procedure for ESP32 but esp8266 is not publishing.
I suspect serial protocol bridge not active, but I dont know how to check this.
My arduino is sending same json I used with ESP32 with sucess, but ESP8266 dont publish.
I did the following steps:
mos flash https://mdash.net/downloads/ccm/ccm.esp8266.zip
mos wifi WIFI_NETWORK WIFI_PASSWORD
mos config-set dash.token=XXXX
mos config-set ccm.host.rpc.enable=false
mos config-set mqtt.enable=true mqtt.server=broker.hivemq.com:1883
mos config-set ccm.host.ota.chip_type=AVR spi.enable=true ccm.host.ota.avr.miso_pin=12 ccm.host.ota.avr.mosi_pin=13 ccm.host.ota.avr.sclk_pin=14 ccm.host.ota.avr.rst_pin=5
Some one have any directions about what could be the problem or a procedure to config ESP8266 for this.
The configuration you have shown does not configure VCON in any of the modes.
You’re disabling RPC bridge by setting ccm.host.rpc.enable=false , and you do not configure the transparent UART mode.
Note: ESP8266 has only one bi-directional UART, therefore you cannot use mos tool over serial port after step1. Always use --port wss://..... Also, when you reboot ESP8266, or issue any other mos command over serial - like flash, you might need to push and hold Arduino reset button.
I am trying to do the same with ESP32 without much success, below is the command i have used which sets all the configuration, here i have not connected the arduino instead i am watching over the terminal program where i have connected the IO16 and IO17 of the module to PC over TTL to USB converter,
Is there anyway that host controller know that VCON module is having internet or Wi-Fi connectivity when working in MQTT transparent mode… May be like an GPIO goes high or low depending on the state of the connectivity…?