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.

Messages - michaelblight

Pages: [1]
mc-Module / Re: mcModule no longer connecting
« on: February 16, 2019, 03:02:42 am »
I fixed it by also using mcOTA to erase mcScript and the data store. Then I could connect and reload the script onto it.

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?

mc-Module / Re: mcModule as doorbell
« on: September 01, 2018, 08:07:38 am »
Thanks! Can't wait to try it out. Much better than those suckers with their voltage hungry Arduinos

mc-Module / Re: mcModule as doorbell
« on: August 26, 2018, 02:57:39 am »
Thanks @mc-T2 for the update - I will try it soon. I'm a bit confused though. You said you soldered a push button between Pin 0 and GND, but the code is responding to the ButtonPressed event. Or am I reading it wrong - have you soldered the button in parallel with the existing button on the mcModule? Is there an event that will fire on a change to Pin 0? I have soldered breadboard cables to these pins in anticipation, which was challenging with old eyes. I don't like my chances of soldering to the button on the PCB!

mc-Things General Discussion / Re: Question about Kickstarter versions
« on: August 03, 2018, 02:19:31 am »
For anybody else in a similar situation, let me answer my own questions.
  • is a mc-router and a mc-gateway the same thing - YES
  • does the current IDE still work with those version - YES
  • can the firmware be updated on them - YES
  • were there battery issues with the 1st gen - I haven't found any problems yet. They started out at 2.9 volts about 7 weeks ago, and they're now are 2.8 volts. I'm sending temperature, battery and status readings every 30 minutes.
  • is the Kickstarter mc-module the same as the 100 - YES
  • am I wasting my time - probably, but why would I make a value judgement
However, the mcModule110s are no longer available and the newer mcModule120s are not compatible with the old gateway. So if I want more I basically have to start from scratch. Bummer.

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.

MQTT / Re: Not seeing any MQTT messages
« on: June 17, 2018, 08:02:02 am »
Solved it!

I'm guessing the USB stick I used to update the Application Processor (mcGw110.bin) was reporting over 100mA required and so the update was not working. I noticed mcOTA was reporting version 6.* rather than 9.*. I had updated the Host Processor, so perhaps the two versions were not compatible. Anyway, when I redid everything with a different USB stick, lo and behold, MQTT messages being sent and received.

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()
        Lplan.Publish("heartbeat", payload)
        LedGreen = Not LedGreen
    End Event
End Class

And I have the mcGate110 config set to my Mosquitto server ( 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.

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]