I expressed myself badly, I have the secret in my config file.
I voluntarily deleted it by copying my file on this forum.
Sorry
Latest posts made by Yourry
-
RE: mycontroller.yaml config
-
RE: mycontroller.yaml config
Thank you for your help, the proposed modification works very well !
On the other hand I tried to update my config file (mycontroller.yaml) with the one proposed on the documentation:
Backend Configuration
And nothing works anymore.
For example in my config file, if I simply replace the line:web_directory: web_console
by
web_directory: /ui
I have an error (404) on the main page.
My config file that works (without the secret line):analytics: enabled: true web: web_directory: web_console enable_profiling: false read_timeout: 60s http: enabled: false bind_address: "0.0.0.0" port: 8580 https_ssl: enabled: true bind_address: "0.0.0.0" port: 8543 cert_dir: mc_home/certs/https_ssl https_acme: enabled: false bind_address: "0.0.0.0" port: 9443 cache_dir: mc_home/certs/https_acme acme_directory: email: hello@example.com domains: ["mycontroller.example.com"] logger: mode: record_all encoding: console enable_stacktrace: false level: core: info web_handler: info storage: info metric: warn directories: data: mc_home/data logs: mc_home/logs tmp: mc_home/tmp secure_share: mc_home/secure_share insecure_share: mc_home/insecure_share bus: type: embedded topic_prefix: mc_server server_url: nats://127.0.0.1:4222 insecure: false connection_timeout: 10s gateway: disabled: false types: [] ids: [] labels: location: server handler: disabled: false types: [] ids: [] labels: location: server database: storage: type: memory dump_enabled: true dump_interval: 10m dump_dir: "memory_db" dump_format: ["yaml"] load_format: "yaml" metric: disabled: false type: influxdb uri: http://127.0.0.1:8086 token: username: password: organization_name: bucket_name: mycontroller batch_size: flush_interval: 1s
-
mycontroller.yaml config
Hi there,
I think I made a mistake in the file config because I have this error on the dashboard:Here is my config file (without the secret line):
analytics: enabled: true web: web_directory: web_console enable_profiling: false read_timeout: 60s http: enabled: true bind_address: "0.0.0.0" port: 8580 https_ssl: enabled: true bind_address: "0.0.0.0" port: 8543 cert_dir: mc_home/certs/https_ssl https_acme: enabled: false bind_address: "0.0.0.0" port: 9443 cache_dir: mc_home/certs/https_acme acme_directory: email: hello@example.com domains: ["mycontroller.example.com"] logger: mode: record_all encoding: console enable_stacktrace: false level: core: info web_handler: info storage: info metric: warn directories: data: mc_home/data logs: mc_home/logs tmp: mc_home/tmp secure_share: mc_home/secure_share insecure_share: mc_home/insecure_share bus: type: embedded topic_prefix: mc_server server_url: nats://127.0.0.1:4222 insecure: false connection_timeout: 10s gateway: disabled: false types: [] ids: [] labels: location: server handler: disabled: false types: [] ids: [] labels: location: server database: storage: type: memory dump_enabled: true dump_interval: 10m dump_dir: "memory_db" dump_format: ["yaml"] load_format: "yaml" metric: disabled: false name: influx_database type: influxdb uri: http://127.0.0.1:8086 # must be updated with your host ip address token: username: password: organization: bucket: mycontroller batch_size: flush_interval: 1s
The influx service works well:
root@odroid:/opt/apps/mycontroller# systemctl status influxdb.service ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-08-04 22:16:18 CEST; 1 weeks 2 days ago Docs: https://docs.influxdata.com/influxdb/ Main PID: 1296364 (influxd) Tasks: 16 (limit: 3833) Memory: 30.1M CGroup: /system.slice/influxdb.service └─1296364 /usr/bin/influxd -config /etc/influxdb/influxdb.conf Aug 04 22:16:16 odroid systemd[1]: Starting InfluxDB is an open-source, distributed, time series database... Aug 04 22:16:16 odroid influxd-systemd-start.sh[1296370]: Merging with configuration at: /etc/influxdb/influxdb.conf Aug 04 22:16:16 odroid influxd-systemd-start.sh[1296391]: Merging with configuration at: /etc/influxdb/influxdb.conf Aug 04 22:16:17 odroid influxd-systemd-start.sh[1296352]: InfluxDB API unavailable after 1 attempts... Aug 04 22:16:18 odroid influxd-systemd-start.sh[1296352]: InfluxDB started Aug 04 22:16:18 odroid systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
Database entry :
root@odroid:/opt/apps/mycontroller# influx Connected to http://localhost:8086 version 1.8.10 InfluxDB shell version: 1.8.10 > show databases name: databases name ---- _internal mycontroller > exit
Thanks for your help
-
RE: Create widget: value a node
First of all, thank you for your welcome and precious help.
That's really nice.
Obviously I have a problem with a non-existent database or something like that.
I have the impression that the data is well read on the MQTT broker but that there is no backup in the database :I discover MyController but I will look in this direction.
Thanks -
RE: Create widget: value a node
I made a mistake ?
Obviously it does not work while the display of the value works :
Anyway thank you for your help !
-
Create widget: value a node
Hi there,
I discover MyController. I use Jeedom for my home automation but I'm curious to try MyController.
I'm simply looking on the dashbaord to display the values of a node, for example my temperature probe from my freezer.
I don't understand what to enter in order to fetch the value of the node:For example the node info page:
Thank you in advance