• Mycontroller 2.x ideas

    Pinned Moved
    44
    2 Votes
    44 Posts
    8k Views
    skywatchS
    @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.
  • MyController 2.0 is ready for testing

    Pinned Moved
    22
    0 Votes
    22 Posts
    2k Views
    jkandasaJ
    @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. [image: 1640786193592-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
  • How do I program?

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Request failed with status code 401

    4
    0 Votes
    4 Posts
    343 Views
    jkandasaJ
    Hi @wint0178, when you logged in to the server, if you see this error, it was happened before login. If it comes only one time and all other functions are working as expected, please ignore this error.
  • Trouble with MC v2 install on RPi 4

    12
    0 Votes
    12 Posts
    379 Views
    jkandasaJ
    Thanks @wint0178 !! I will go through the installation documentation and sync with your update.
  • Remote access to MCv2 Dashboard

    6
    0 Votes
    6 Posts
    540 Views
    W
    @skywatch I was able to setup several MQTT Gateways using NodeMCU boards with attached I2C sensors. The Gateways are all Wifi gateways, but I have been able to use my DDNS in place of the IP address to send data from several locations including one that is international. I think this is working well at this point. Thank you for your reply!
  • Raspberry Pi 5 announced

    1
    1 Votes
    1 Posts
    214 Views
    No one has replied
  • arduino IDE 2.2.1 available

    1
    1 Votes
    1 Posts
    194 Views
    No one has replied
  • Setting up MQTT

    5
    0 Votes
    5 Posts
    445 Views
    jkandasaJ
    @wint0178 on the other post, I see you were able to see the nodes. Still do you see this issue?
  • Adding MySensor V2.3.2 sensors to MC v2

    2
    0 Votes
    2 Posts
    340 Views
    W
    OK, I'm not exactly sure what I did, but my student was able to edit the example sketch from MySensors V2 "GatewayESP8266MQTTClient" and add in code to send data from the Adafruit BME680 over MQTT. Once I added that code to my NodeMCU and added the # to the subscribe list in my gateway, it all just seemed to automatically add. I should acknowledge that I had a misunderstanding about what physical components were nodes, sources, and fields. For some reason I thought that my NodeMCU was a gateway (this is true), it was also a node (this was not true), and that the BME680 was the source with several fields on it (TEMP, PRESS, HUMM). I believe I see now that the Node is actually the BME680 board and it has several separate sources, the physical sensors for each of the conditions it monitors and those numeric values, once acquired, become fields that the MC server can publish. I am going to play some more with this since I would like to add all sorts of other nodes with a wide range of sources.
  • SSD filled overnight

    5
    0 Votes
    5 Posts
    397 Views
    jkandasaJ
    @wint0178 You can use letsencrypt certification setup with https_acme to your DDNS setup, https://v2.mycontroller.org/docs/installation/advanced-installation/backend-configuration/
  • Moving Server to another location

    11
    0 Votes
    11 Posts
    564 Views
    jkandasaJ
    @jkandasa I have fixed this. available in the docker container(2.1.0-devel). yet to update in executable.
  • Gateway setup for MCv2 using MySensors

    5
    0 Votes
    5 Posts
    366 Views
    jkandasaJ
    @wint0178 No, keep default labels. as @JeeLet mentioned can you check any other service is consuming the serial port? Do you see any error on the gateway?
  • Docker Install Error

    4
    0 Votes
    4 Posts
    524 Views
    jkandasaJ
    @wint0178 At the time of writing the document in RPI the default installation does not have docker 20.x or above. Hence I proposed this method. In your installation if you have latest version of docker, you can install with apt install... command. I think I took the steps from https://github.com/docker/docker-install
  • Armbian - MyC V2 - install

    40
    0 Votes
    40 Posts
    3k Views
    jkandasaJ
    @JeeLet @wint0178 recently I released the version 2.0.0, the location changes. also I changed some of the paths. I will go through the installation steps soon as possible and update the required corrections
  • Is NATS.io needed on RPi?

    3
    0 Votes
    3 Posts
    288 Views
    jkandasaJ
    hi @wint0178, MQTT Broker - if you plan to connect your gateway via MQTT, you need an mqtt broker. If you already one. you can use that. You can have MQTT broker in any system, that should be accessible for MyController and your gateway device. If you do not have complex system, you can keep everything on the same system. MongoDB - for storage the default option is in-memory database. It keeps all the configurations(except metrics) in memory and dumps to dis in an interval. It will be faster. You can take a frequent backup with schedule. But someone wants to keep the storage in mongoDB, may be due to large setof configurations or to keep the data in remote location, or other reasons. It is up to you. fyi, I am using in-memory db and I do not see an issue till now(about 2 years) InfludDB - you need to have this database, if you want graphs and metrics details I hope I have addressed your queries
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • state of a contact open-closed

    3
    0 Votes
    3 Posts
    349 Views
    J
    Hello @jkandasa an idea in pictures, it's easier https://nsmf01.casimages.com/f/2023/06/28//23062802265523870811442.pdf ..... it's an idea
  • Newbee Q - Which Server Setup Option is Best?

    2
    0 Votes
    2 Posts
    266 Views
    jkandasaJ
    @wint0178 I am trying to respond your queries to my best. You may have better approach then my response too. I assume that, you are using MySensors hardware in your setup. As you have your gateways in different locations, you can connect all your gateways with MQTT connection (I would recommend secure MQTT). You have to run a MyController server for 24x7, so you can go with RPI, it will save lot of your electricity and space. Ultimately, I need to give data access to the communities themselves through the dashboard and SMS or email notifications. I would also like to have remote access to the data, but this is slightly less critical. With MyController you can configure Email and web-hook(you may use it for SMS), For now there is no role based access in MyController v2. In MyController all the metric data will be in influx database. So you may share the details with Grafana dashboard too. I think it has read only dashboard.
  • MQTT Gateway USB

    4
    0 Votes
    4 Posts
    360 Views
    jkandasaJ
    @JeeLet some special cases you need 2mqtt. For example you want to share your USB GW for MyC and other software (via mqtt). If you are using your USB GW only with MyC. 2mqtt is not required. 2mqtt creates a mqtt communication to your USB GW

0

Online

556

Users

525

Topics

3.4k

Posts