Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - michaelblight

Pages: [1]
1
mc-Module / mcModule no longer connecting
« on: February 15, 2019, 11:31:02 pm »
I'm trying to update the code on my 3 mcModules (legacy versions). It worked successfully for two, but I can't connect to the 3rd. I have tried shutting down mcStudio and power-cycling the mcGateway. I also successfully reloaded the firmware onto the mcModule using mcOTA just in case. When I connect to the Gateway using the "Device Maintenace and Connection" screen, it shows up as beaconing. Then, as with the other mcModules, I take the battery out, click Connect and re-insert the battery. However it never connects.

This mcModule is blinking green then red every few seconds, whereas the others do not. My code would not be causing this, although my code is still running on the mcModule, as every 30 minutes it's sending MQTT messages.

Any thoughts on what to do?

2
mc-Module / mcModule as doorbell
« on: August 03, 2018, 02:08:31 am »
I'm looking to hook up a mcModule as a doorbell sending MQTT messages. I haven't been able to find any existing examples, and I'm no electrical engineer! Is it enough to connect pin 7 and GND to a push-button and define it as AnalogInputPullDown? I'm guessing not. Or do I need to connect VDD to push-button to pull-down resistor to GND and then connect pin 7 between switch and resistor?

And then is there an event to hook into that will fire when the push-button is pressed? Or do I have to poll pin 7 (which would drain the battery too fast)?

Any help would be appreciated.

3
MQTT / Not seeing any MQTT messages
« on: June 17, 2018, 02:31:01 am »
I'm trying this for the first time and not having much luck. I have Mosquitto installed in a Docker container running under Ubuntu. On my laptop I can run MQTT.fx and successfully publish and subscribe. I also have Home Assistant connected, and it can respond to the messages published from MQTT.fx too.

I have the following code running on a mcModule110:

Code: [Select]
Class TestHeartbeat
    Shared Event SendMessage() RaiseEvent Every 15 Seconds
        Dim payload As ListOfByte = New ListOfByte()
        payload.Add("testing")
        Lplan.Publish("heartbeat", payload)
        LedGreen = Not LedGreen
    End Event
End Class

And I have the mcGate110 config set to my Mosquitto server (192.168.0.39:1883). The green LED goes on and off every 15 seconds, but no messages arrive at either MQTT.fx or Home Assistant. And MQTT.fx can scan for topics, but nothing shows up. Any help would be much appreciated.

4
mc-Things General Discussion / Question about Kickstarter versions
« on: June 11, 2018, 10:02:50 pm »
I backed a mc-router and 3 mc-modules on kickstarter back in the day. For various reasons they remained unused. Until now. Before I start, does anybody know what issues I will face in trying to use these? Like: is a mc-router and a mc-gateway the same thing; does the current IDE still work with those versions; can the firmware be updated on them; were there battery issues with the 1st gen; is the Kickstarter mc-module the same as the 100; am I wasting my time; etc.

Pages: [1]