Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Popular
    Log in to post
    • All categories
    • Announcements
    • Blogs
    •      Getting Started
    •      Dashboard
    •      Resources
    •          Operations
    •          Rules
    •      Action board
    •      Utilities
    •          Scripts
    •      General
    • General Discussion
    •      Comments & Feedback
    •      MyControllerDevice (ESP8266)
    •      Users Story
    • Translation (localization)
    • Developers Zone
    • Troubleshooting
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • skywatch

      [SOLVED] Serial problem
      Troubleshooting • • skywatch

      57
      0
      Votes
      57
      Posts
      5109
      Views

      skywatch

      @avamander Thank you for your suggestions.

      Your advice is good and I have already done a lot of what you suggested. I didn't put a scope on it, I may make another portable system and try that then as I do not see any pullups on the pro mini nor on the pi3 schematics. That could well be the centre of my problems.

      I also stumbled upon this page ...... https://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/

      This also seems to pinpoint issues with serial on the Raspberry Pi 3B, and why they happen. Seems the foundation made changes that have had a detrimental effect on serial comms stability. It would explain why this happened after 'upgrading' from Pi 2B to Pi 3B. It seems conclusive to me that the issue is with the RPi 3B serial port not working correctly.....Live and learn I guess

      Still, for the last 4 days I have been running with a serial to usb adapter and no ghost nodes and no data spikes on the graphs. I wonder if there are pullups on the board? It's difficult to see clearly with the plastic wrapper on it!
      Things are looking very hopeful right now though...

      The only issue I still face is random loss of data from some nodes. The outages can be just one value report missing (Most nodes send data once every 5 minutes), right up to over 6 hours of data loss. Then suddenly it all starts working again. I might have more time now to look into that a bit morenow the system is stable again, but it is so random.

      I did also find quite a few 'less than good' dupont cables (from China) - So I have soldered directly a lot of connections now or modified/re-crimped the cables that were 'iffy'.

      Thanks again to you and Jkandasa for the support and help. I am nearly there with this now and can build some more nodes with confidence.

    • Y

      OTA firmware update with external MQTT broker
      General Discussion • • yd

      46
      0
      Votes
      46
      Posts
      28122
      Views

      jkandasa

      @Marcel Thank you for your patience!

      OTA works in the following way,

      send available firmware details(version, checksum, etc.,) to the node If node thinks, it is a different sketch, it will request block by block. MyController sends firmware block data(requested block)

      When I have a new node, this will publish an auto node ID. Then I cannot upload new firmware because if I do this the default firmware will be loaded? I am not sure if that is even possible with manually assigned numberings of nodes.

      Assigning node ID is a different process than OTA. So do not get confuse with node ID assignment.

      So the next step is that I press edit on the new node and assign the firmware to it (that I added to utilities\firmware tab) and save this and the press the above button upload firmware? This seems to work but I am not sure if this is the correct process as I find this not very logical.

      Yes, this is the correct way to upload firmware and it is by design. You can keep any number of version of the firmware and assign a version to a particular node.

      When I would like to update a node, I add the software again to the utilities\firmware tab, edit the specific node and assign this new software and do the upload firmware again? Correct?

      Yes, correct

      The part where it did goes wrong is that I put the default switch on for firmware as I saw errors in the logging about this. Then this will upload software (which is already on another node) to the new node and you get duplicated node numbers.

      Default firmware should not contain node id statically. It is mainly used when we use MYSBootloader. With this boot loader, we may not have any firmware. So we can keep default firmware for the first time. and later we can switch to new firmware by assigning manually.

      That is up to our convenience. We can go without default firmware also.
      You can disable it as follows,

      So preferable, I would like to see. Add also the possibility that you have a split menu. Upload Assigned/default firmware or upload firmware where you get a popup and select the one you would like to upload to your node.

      Yes, nice feedback/enhancement request. Could you please create a ticket in GitHub?

      Secondly, I had a problem with my boot software. The first time it advertises itself and after the upload of the new firmware, I could never upload new firmware again. I have downloaded the MySensors Bootloader and recompiled it for my hardware (slim node atMega328p 8MHz) and this bootloader seems to work okay

      Great! I hope you have mentioned MYSBootloader ^^

    • Emenike

      Frustrated Newbie - Help with Nodes and Sensors
      Troubleshooting • • Emenike

      46
      0
      Votes
      46
      Posts
      2167
      Views

      jkandasa

      @Emenike I do not find a variable Status in your variable repository screenshot, But you are trying to access it,

      var LoopThroughValves = mcApi.variable().get("Status");
    • jkandasa

      Mycontroller 2.x ideas
      General Discussion • • jkandasa

      44
      2
      Votes
      44
      Posts
      5221
      Views

      skywatch

      @jkandasa Here is another suggestion to think of for version 2.0.......

      It would be nice to have a feature that could be enabled or disabled with a click that will perform the following......

      Random Action - I am thinking of lights here for security purposes and making a building look more occupied than ordinary timers will allow. So a feature that allows random on times and random off times, within a specified portion (or portions) of the day/week/etc.

      Example
      Kitchen lights should be randomly turned on for minimum 2 minutes and maximum 5 minutes from 6am to 7.30am AND between 5pm -10pm.
      Bedroom lights should be turned on randomly for minimum 10 minutes and mazimum 20 minutes betwee 5.30am and 6.30am AND between 8pm and 11pm.
      And so on for different zones of lights.

      Once the vatiable are set then it should simply be a matter of enabling all when going away and perhaps you can even add a nice auto-disable for when you are away for a known number of days..... ?

      This could also apply to turning on/off radio etc to enhance the effect.

    • jkandasa

      Custom widget
      Dashboard • custom widget dashboard guage • • jkandasa

      43
      0
      Votes
      43
      Posts
      23452
      Views

      jkandasa

      @fsgrazzutti Great catch! Thanks.

    • skywatch

      Final 1.0.0 errors and crash report....
      Troubleshooting • mysgw • • skywatch

      40
      1
      Votes
      40
      Posts
      5839
      Views

      skywatch

      @Tag
      See update here....

      https://forum.mycontroller.org/topic/224/booting-rpi3-mycontroller-from-usb-only

    • jkandasa

      0.0.3.Final pre-release - volunteers required to test
      Announcements • release pre-release • • jkandasa

      33
      0
      Votes
      33
      Posts
      18568
      Views

      E

      Thanks, it is working for me now!

    • R

      MQTT sample setup on ESP8266
      MyControllerDevice (ESP8266) • • ragflyer

      29
      1
      Votes
      29
      Posts
      22744
      Views

      Stephan35

      Here is some good news !!!

      First after getting update from github , here is some screen shot from GUI

      We can see that MyController is in the list !

      Also, Esp send correctly data to mosquitto (which i use by default)

      Now , i have to test and learn to send data , like temperature or lighmeter .

      Thank you for your time and your support.

    • skywatch

      1.1.0-snapshot, still having problems...
      Troubleshooting • • skywatch

      28
      0
      Votes
      28
      Posts
      4575
      Views

      skywatch

      8 Days and looking good - no errors, no crashes. Just a couple of nodes that misbehave sometimes......

      On that note, today I noticed one node had not sent data for many hours and when I got to it, the led connected to pin 13 was rapidly flashing. This is not normally the case, but I can't spare the laptop to monitor the serial port for a week+ just in case it happens again - any ideas? This was using the standard MYS prog for bmp180 pressure sensor. Running on mains powered 5v pro mini.

    • jkandasa

      MyController 1.2.0-SNAPSHOT version with major provider changes and supports for ack
      Announcements • snapshot ack provider • • jkandasa

      28
      1
      Votes
      28
      Posts
      4570
      Views

      T

      @jkandasa

      Cool!, Thx! will give it a try on the snapshot version.
      :thumbs_up:

    • jkandasa

      MyController agent for Raspberry PI
      General Discussion • raspberry pi mycontroller agent • • jkandasa

      24
      0
      Votes
      24
      Posts
      8907
      Views

      jkandasa

      @tag Thank you for the feedback.

      the CPU temp is shown as 0.049c instead of 49c

      I have filed an issue with pi4j. Seems it's fixed. Let me check with recent version and update.
      https://github.com/Pi4J/pi4j/issues/356

      Which image do you use (in my opinion armbian jesse is still the best..)

      Yes, I too use armbian. Which is super cool image for Orange PI

      and what is "hot" can you keep your finger on the cpu for a minute?

      Sure, Will update you

    • jkandasa

      0.0.3-Alpha2 pre-release - volunteers required to test
      Announcements • pre-release alpha • • jkandasa

      23
      0
      Votes
      23
      Posts
      16575
      Views

      hotib

      Hi Jeeva!

      I would like to test Alpha2!

      Thanks
      Tibi

    • N

      Mesh network and gateway?
      General Discussion • • njbuch

      23
      0
      Votes
      23
      Posts
      14355
      Views

      N

      Yes it does. Thanks

    • jkandasa

      Widget - Sensor custom buttons
      Dashboard • dashboard custom buttons widgets • • jkandasa

      21
      1
      Votes
      21
      Posts
      6217
      Views

      skywatch

      @jkandasa I've just added the JSON settings for the amp, it was missing in the first post....Opps!

      Thank you for making it all possible!

    • T

      I can't add a widget to a dashboard
      General Discussion • • TomG

      21
      0
      Votes
      21
      Posts
      2048
      Views

      T

      @jkandasa Thanks much.

    • E

      custom widget: send command to node
      Dashboard • • elgarfo

      21
      0
      Votes
      21
      Posts
      903
      Views

      R

      @jkandasa Sorry... I thought I'd edited or deleted that reply saying it didn't work. It now works... I'd taken the sensor ID from the summary page and not the edit page as you pointed me to in your last reply.

      So its working now... my mistake, thanks for your patience.

    • skywatch

      Ghost Nodes (Eeeek!).
      Comments & Feedback • • skywatch

      20
      0
      Votes
      20
      Posts
      1249
      Views

      skywatch

      @Daniele Thanks for sharing your knowledge.

      I still use the bootloader that is installed in China, so not the issue for me. I also specify node ID in the sketch to avoid issues with getting it assigned from the GW.

      I have had a much better experience lately with new quality power supply, but still had a weird crash this week.

      I woke to find the pi running, activity light flashing as it normally does, but no web page served, no ssh access and no activity light on the SSD.

      Within a few days I will re-build removing as many dupont connectors as I can and soldering wires instead. It's really the last thing I can think of, but I am seeing things improve which is a good thing!

    • M

      Email notification setup
      Getting Started • • MTBHuw

      20
      0
      Votes
      20
      Posts
      2658
      Views

      skywatch

      @skywatch Emails working fine for me now

    • skywatch

      Multiple NRF24L01+ gateways
      General • • skywatch

      19
      0
      Votes
      19
      Posts
      95
      Views

      jkandasa

      @skywatch click on the gateway details page. there check how many nodes available for that gateway.

    • D

      Frequent errors related to Ethernet Gateways
      Troubleshooting • • Daniele

      19
      0
      Votes
      19
      Posts
      81
      Views

      D

      @Avamander could you please post me an example of DHCP renewal?
      I investigated the ICMP ping idea but I've not been able to get something working, since the ping seems to interfere with GW code. Did you manage to use it in a mysensors GW?