Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Configuration question

Im trying to find a solution to flashing one firmware into multiple similar devices. Each board is an esp32 with a relay that I want to control from an mqtt broker.

I set these items in the mos.yml and some settings appeared in the conf file while others went back to their defaults. Also, the pub and sub don't take the ?????? and replace with the id of the device.

Any assistance would be appreciated

  • ["device.id", "scymyn_??????"]

    • ["mqtt.pub", "s", "/scymyn_??????/relayresponse", {title: "Publish topic"}]
    • ["mqtt.sub", "s", "/scymyn_??????/relayrequest", {title: "Subscribe topic"}]
    • ["mqtt.server", "broker.mqttdashboard.com:1883"]
    • ["device.id", "RemoteRelay"]
    • ["device.password", "test"]
    • ["i2c.enable", true]
    • ["wifi.ssid", "scymyn_??????"]
    • ["wifi.ip", "192.168.4.101"]
    • ["wifi.gw", "192.168.4.101"]
    • ["wifi.dhcp_start", "192.168.1.102"]
    • ["wifi.dhcp_end" , "190.168.1.200"]
    • ["dns_sd.host_name", "scymyn_??????"]

Comments

Sign In or Register to comment.