• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • skywatch

      [SOLVED] Serial problem
      Troubleshooting • • skywatch

      57
      0
      Votes
      57
      Posts
      5497
      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. ๐Ÿ™‚

    • J

      miscellaneous question
      General Discussion • • JeeLet

      50
      0
      Votes
      50
      Posts
      390
      Views

      J

      on the drawing I forgot to put also the
      start/end the mini/maxi 0/50

      ๐Ÿบ

    • Y

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

      46
      0
      Votes
      46
      Posts
      28674
      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,
      461787f1-c759-4063-9c35-8af7e073c66d-image.png

      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
      2615
      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
      5764
      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 guage dashboard • • jkandasa

      43
      0
      Votes
      43
      Posts
      23832
      Views

      jkandasa

      @fsgrazzutti Great catch! Thanks.

    • skywatch

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

      40
      1
      Votes
      40
      Posts
      5994
      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 • pre-release release • • jkandasa

      33
      0
      Votes
      33
      Posts
      18800
      Views

      E

      Thanks, it is working for me now!

    • R

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

      29
      1
      Votes
      29
      Posts
      23072
      Views

      Stephan35

      Here is some good news !!!

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

      0_1487795384107_Capture dโ€™รฉcran_2017-02-22_21-29-34.png

      We can see that MyController is in the list !

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

      0_1487795639762_Capture dโ€™รฉcran_2017-02-22_21-33-47.png

      0_1487795522154_Capture dโ€™รฉcran_2017-02-22_21-31-14.png

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

      Thank you for your time and your support.

      ๐Ÿ˜†

    • J

      Scratch Analytics enabled
      Troubleshooting • • JeeLet

      29
      0
      Votes
      29
      Posts
      330
      Views

      jkandasa

      @jeelet

      I realize that I give you a lot of work, I will try to reduce my requests.

      until it is a valid request, no worries
      I can work only on the request, when I get enough free time.

      So Bravo for the launching of the themes step, I test in the day, I will make a report this evening or tomorrow (a video ? ๐Ÿ™‚ )

      do it when you have free time

      ps: message notification finally works

      good to know

    • skywatch

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

      28
      0
      Votes
      28
      Posts
      4686
      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
      5002
      Views

      T

      @jkandasa

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

    • J

      Armbian - MyC V2 - install
      General Discussion • • JeeLet

      25
      0
      Votes
      25
      Posts
      475
      Views

      J

      I redo a clean installation.
      by following the modification of the tuto .

      there is an error message for the installation of influxdb

      wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). E: This command can only be used by root.

      Fix โ€œWaning: apt-key is deprecated. Manage keyring files in trusted.gpg.d insteadโ€

      "Even if this is a warning message, you can continue to use apt-key, but it will be removed in the next releases. So it will be a good idea to start using the new way."

      "Solution:
      ..... new way of adding GPG keys to the system and avoiding the above warning.
      The following command will download a remote GPG key, encrypt it and save it..... "

      see how we can solve the problem.

      and maybe upgrade to version 2 of influxdata?

    • jkandasa

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

      24
      0
      Votes
      24
      Posts
      9143
      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
      16743
      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
      14496
      Views

      N

      Yes it does. Thanks

    • jkandasa

      MyController 2.0 is ready for testing
      General Discussion • 2.0 • • jkandasa

      22
      0
      Votes
      22
      Posts
      485
      Views

      jkandasa

      @rmf69 said in MyController 2.0 is ready for testing:

      {"error": "Get "https://ipinfo.io/json": dial tcp 0.0.0.0:443: connect: connection refused"}

      This error may be due to you do not have internet access of your firewall blocks https://ipinfo.io/json
      To avoid this error disable auto location detection feature and enter your location details manually.
      169ca077-f371-43f9-9e8d-36b9f9ac47a8-image.png

      I do not see any error in the docker run. Can you please double check the availability of the mycontroller.yaml on your host machine?

      enter into the docker container and verify the file

      # docker exec -it mycontroller2b /bin/sh /app # cat /app/mycontroller.yaml
    • jkandasa

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

      21
      1
      Votes
      21
      Posts
      7377
      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
      2243
      Views

      T

      @jkandasa Thanks much.

    • E

      custom widget: send command to node
      Dashboard • • elgarfo

      21
      0
      Votes
      21
      Posts
      1344
      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.