• Forum logo transparency

    Developers Zone
    5
    2 Votes
    5 Posts
    645 Views
    jkandasaJ
    @Avamander Thanks for the pointer. Discourse needs more resources than NodeBB. We do not have that much budget. So, for now, we do not have any plans to upgrade.
  • Speeding up nginx mycontroller proxy

    Moved General nginx proxy cache
    7
    1 Votes
    7 Posts
    1k Views
    AvamanderA
    @skywatch Hm, I'll try splitting it once again: Preliminary requirement, when you have your domain and nginx, follow a tutorial to set up LetsEncrypt with nginx, there are plethora of guides way better than what I can explain If you have your configuration (probably in /etc/nginx/sites-available/default) then you find the server { section that has your TLS (SSL) configured in step 1, then you just paste in the described content Find the folder where you installed mycontroller, the folder has a www folder in, find [mycontroller_install_directory] with that path (e.g. /home/mycontroller/www) The same www folder, run the find ... commands in the folder, it automatically precompresses the folders's contents Make a new configuration file in /etc/nginx (e.g. mycontroller_http2_push.conf) and place the lines that start with http2_push in the file. Make sure the filename in the location / block matches with the configuration file name you made. Restart nginx and it should now display you mycontroller with encrypted connection and really rather fast.
  • Programmatically reboot a node

    Developers Zone
    15
    0 Votes
    15 Posts
    954 Views
    jkandasaJ
    Probably a stupid question, but will this reboot all mys GW attached to the pi? @skywatch Yes, it will. if your mys GW powered by RPI
  • Email notification setup

    Getting Started
    20
    0 Votes
    20 Posts
    4k Views
    skywatchS
    @skywatch Emails working fine for me now
  • [SOLVED] IR controlled LED advice needed.....

    General
    2
    0 Votes
    2 Posts
    273 Views
    skywatchS
    @skywatch SO I fixed the issue and now all is working as I want.
  • [SOLVED] 2x RF gateways always fails on reboot.

    Troubleshooting
    3
    0 Votes
    3 Posts
    274 Views
    skywatchS
    @jkandasa No problem..... Mysteriously it seems to have resolved itself. Today is 'update' day for the pi and I thought I'd wake to a dead http connection. But no! - there was mycontroller running as normal. Maybe I just didn't give it enough time to settle down in previous tests......Ah well, it's alright at the moment so this is solved now!
  • Remove saved battery information.

    Troubleshooting
    6
    0 Votes
    6 Posts
    391 Views
    jkandasaJ
    @Daniele Yes, it is calling mycontroller.mv.db. I tried with that syntax, but the error I receive is : SQL Exception: No suitable driver found for mycontroller I try this locally and let you know.
  • Raspberry pi foundation drop 1Gb ram models....

    General Discussion
    1
    2 Votes
    1 Posts
    218 Views
    No one has replied
  • Groups ???

    Resources
    1
    0 Votes
    1 Posts
    148 Views
    No one has replied
  • [SOLVED] Settings in TIMER?

    Dashboard
    2
    0 Votes
    2 Posts
    208 Views
    skywatchS
    @skywatch It is working well and as expected!
  • How to use CSV export feature?

    General Discussion
    4
    0 Votes
    4 Posts
    359 Views
    jkandasaJ
    @BraydenM timestamp is the number of milliseconds that have elapsed since January 1, 1970 at 00:00:00 GMT. Note: In java it is in milliseconds. But in UNIX/Linux it is in seconds. In python, you can convert to date, time by using the function, datetime.datetime.fromtimestamp(1582439517). I believe it should be seconds. So you have to do, received timestamp / 1000 = in seconds https://docs.python.org/3/library/datetime.html#datetime.date.fromtimestamp I was unframiliar with what JSON were as I've never used java. JSON is not a java specific. We can use it most of the languages. Examples in Python, https://docs.python.org/3/library/json.html
  • Getting V_FORECAST on a node from controller?

    Troubleshooting
    8
    0 Votes
    8 Posts
    881 Views
    skywatchS
    @skywatch Just a quick update - ...... Keep the receive section clean - I took all the 'if' and 'elseif' out of receive and into the main loop - This is good practice. So now it looks like this...... // process incoming message void receive(const MyMessage &message) { if (message.sensor == CHILD_ID_GETFORECAST && message.type == V_FORECAST) { forecast = (message.getString()); NewForecast = 1; } } The NewForecast is there to alert the main loop to a new incomming value to be tested and updated.
  • Arduino IDE 1.8.12 now available for download.

    General Discussion
    1
    1 Votes
    1 Posts
    157 Views
    No one has replied
  • Mycontroller 2.x ideas

    Pinned Moved General Discussion
    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.
  • Absolute humidity chart

    Dashboard
    6
    0 Votes
    6 Posts
    356 Views
    skywatchS
    @jan2son That's great news - looking forward to seeing your implementation.
  • High Pressure.....

    General Discussion
    3
    1 Votes
    3 Posts
    252 Views
    skywatchS
    @jkandasa BME280. From this I get graphs of atmospheric pressure, temperature, humidity, dew point and a forecast of the weather to come. Here is the full view..... [image: 1579599081305-wx.jpg]
  • Cannot upload new image.

    Comments & Feedback
    4
    0 Votes
    4 Posts
    260 Views
    skywatchS
    @skywatch Yup! - As always you have fixed it promptly.
  • custom widget: send command to node

    Dashboard
    21
    0 Votes
    21 Posts
    3k 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.
  • 0 Votes
    8 Posts
    2k Views
    R
    @jkandasa No I hadn't, thanks, of course now its working. Great tool I'm enjoying getting to grips with the scripts and templates.
  • Merry Christmas and a Happy New Year!!!

    General Discussion
    2
    1 Votes
    2 Posts
    169 Views
    T
    Thank you!! All mycontroller forum members, Merry Cristmas, and all the best for 2020!!