@wint0178 on the other post, I see you were able to see the nodes. Still do you see this issue?
Posts made by jkandasa
-
RE: Setting up MQTT
-
RE: Setting up MQTT
@wint0178 Are you using MySensors library?
Your MQTT broker should be accessible to all of your hardware gateway nodes and MyController server. MyController server is acting as MQTT client, just like another MQTT device in your network. -
RE: SSD filled overnight
@wint0178 You can use letsencrypt certification setup with
https_acme
to your DDNS setup, https://v2.mycontroller.org/docs/installation/advanced-installation/backend-configuration/ -
RE: Moving Server to another location
@jkandasa I have fixed this. available in the docker container(
2.1.0-devel
). yet to update in executable. -
RE: SSD filled overnight
@wint0178 I have not experienced this kind of issue. check the filesystem. you can find the root cause. Please let us know your findings. You can check this after your family road trip
-
RE: Gateway setup for MCv2 using MySensors
@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?
-
RE: Moving Server to another location
@JeeLet @wint0178 Yes, this known issue. but it will not impact the functionality. I will fix this soon.
-
RE: Remote access to MCv2 Dashboard
@wint0178 we have many options, one of them is, port forward required services as you mentioned in your router. you need separate entry for each service(MyController, MQTT broker, etc.,)
Some use reverse proxy. do one a port forward to your reverse proxy via 443 and 80, then do all other changes in your reverse proxy. Someof the famous reverse proxy servers are caddyserver, traefik, nginx, etc.,
-
RE: Moving Server to another location
@wint0178 said in Moving Server to another location:
As for the dashboard, there is nothing there. In v1.5 there was a clock and location, but not in v2.0. Is here a way to add those back?
No, for now in V2 we do not have clock and location.
-
RE: Gateway setup for MCv2 using MySensors
@wint0178 what is the labels do you use in
mycontroller.yaml
undergateway
? you have to use that label in your gateway settings label section. -
RE: Moving Server to another location
Once I started MC on my Pi the dashboard comes up, but I get the following message (or error) in the upper right corner:
Request failed with status code 401
URL: /api/datarepositoryDo you have anything in the dashboard referring data repository and it is not there in data repository?
Message: {"success":false,"message":"401 Unauthorized","data":null}
I think you existing login session and restarted the MyContorller, so leads this error and redirect to login page. but after login still it shows the previous error. I will try to remove that.
-
RE: Moving Server to another location
@wint0178 I would recommend to use
docker network
create a docker network in your rpi,docker network create mycontroller
and include the
--network=mycontroller
in all of your services, like mycontroller, influxdb, natsio, mqtt server, etc.,
and use name of the service in the place of IPs inmycontroller.yaml
Few sample:
docker run --detach --name mc_natsio \ --network mycontroller \ --publish 4222:4222 \ --env TZ="Asia/Kolkata" \ --restart unless-stopped \ nats:2.2.2-alpine
docker run --detach --name mycontroller \ --network mycontroller \ --publish 8080:8080 \ --publish 8443:8443 \ --publish 9443:9443 \ --volume $PWD/mc_home:/mc_home \ --volume $PWD/mycontroller.yaml:/app/mycontroller.yaml \ --env TZ="Asia/Kolkata" \ --restart unless-stopped \ docker.io/mycontroller/server:2.0.0
...omitted... bus: ...omitted... server_url: nats://mc_natsio:4222 metric: ...omitted... uri: http://influxdb:8086
-
RE: Docker Install Error
@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 -
RE: Armbian - MyC V2 - install
@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
-
RE: Is NATS.io needed on RPi?
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
-
RE: state of a contact open-closed
HI @JeeLet, sorry for the late response.
I think you can change the color based on pre defined button. -
RE: Newbee Q - Which Server Setup Option is Best?
@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.
-
RE: Unknown serial gateway port name (Windows 10)
@wint0178 Yes, 2.0.0 launched very recently
-
RE: Unknown serial gateway port name (Windows 10)
@wint0178 Welcome to MyController world.
As you are starting your journey with MyController, I would recommend to you use MyController 2.x version.
1.x is not maintained anymore.Regards the serial port. I have not that frequently used windows. but my assumption is, default MySensors sketch baud rate is
115200
, you can change this on your sketch, above mysensors.h header,#define MY_BAUD_RATE (57600ul)
or your preferred value.