miscellaneous question
-
Thank you for your philosophy, I am less bothered.
so I keep asking questions
the image panel widget has 3 types:
- Field (test)
- URL (test)
- Disk /??)
I tested with an image, png or jpeg format, large and small format, but nothing.
in Location there is : /home/toto/image/sablineigem.png
this function is for What ????
and a local webcam is possible ???
-
@JeeLet said in miscellaneous question:
in Location there is : /home/toto/image/sablineigem.png
this function is for What ????
and a local webcam is possible ???What do you have configured on the
mycontroller.yaml
in directories insecure_share
andinsecure_share
,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
insecure_share
- works without loginsecure_share
- works on logged in session
I would recommend to go withsecure_share
in most of the cases.
Usage example based on the above configuration:
- I have put an image in
/mc_home/secure_share/toto/image/sablineigem.png
- In dashboard I can access as follows,
/secure_share/toto/image/sablineigem.png
The same way for
insecure_share
can be added in dashboard. in addition insecure share can be accessible outside dashboard like this,/mc_home/insecure_share/toto/image/sablineigem.png
>> http://localhost:8080/insecure_share/toto/image/sablineigem.png
-
this does not work
with user root , create directory /image
in /opt/apps/mycontroller/mc_home/secure_share/image
with the images in it
(small and big size and .png .jpg .gif)I tried adding in
mycontroller.yaml
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 image: mc_home/secure_share/image
I restarted MyC ..... and still nothing
I let the cake cool down and come back later
doc : https://v2.mycontroller.org/docs/advanced-installation/backend-configuration/#directories
-
@JeeLet said in miscellaneous question:
this does not work
can you share details of dashboard widget?
-
Yaml view
id: 39de50a6-1aaa-4f15-9394-205c3e547193 title: Panel Title showTitle: true scrollbarDisabled: false static: false type: widget_image_panel layout: w: 52 h: 113 x: 0 'y': 0 config: field: {} imageLocation: /secure_share/image/architecture.png refreshInterval: 0 rotation: '0' sourceType: disk
image de 155,8kB https://github.com/mycontroller-org/documentation/blob/master/static/doc-images/architecture.png
in /opt/apps/mycontroller/mc_home/secure_share/image
-
@JeeLet I am unable to reproduce the issue
my setup$ tree mycontroller mycontroller āāā LICENSE.txt āāā logs āĀ Ā āāā mycontroller.log āāā mcctl.sh āāā mc_home āĀ Ā āāā certs āĀ Ā āĀ Ā āāā https_ssl āĀ Ā āĀ Ā āāā mc_generated.crt āĀ Ā āĀ Ā āāā mc_generated.key āĀ Ā āāā data āĀ Ā āĀ Ā āāā storage āĀ Ā āĀ Ā āāā memory_db āĀ Ā āĀ Ā āāā yaml āĀ Ā āĀ Ā āāā dashboard__1.yaml āĀ Ā āĀ Ā āāā settings__1.yaml āĀ Ā āĀ Ā āāā user__1.yaml āĀ Ā āāā insecure_share āĀ Ā āĀ Ā āāā test.txt āĀ Ā āāā logs āĀ Ā āāā secure_share āĀ Ā āāā image āĀ Ā āāā architecture.png āāā mycontroller-server āāā mycontroller.yaml
file size:
$ ls -lh mycontroller/mc_home/secure_share/image/architecture.png -rw-rw-r--. 1 root root 153K Jul 29 20:13 mycontroller/mc_home/secure_share/image/architecture.png
widget:
id: 500d9d31-9dad-47fe-a696-0999ebd31215 title: Panel Title showTitle: true scrollbarDisabled: false static: false type: widget_image_panel layout: w: 52 h: 113 x: 0 'y': 0 config: field: {} imageLocation: /secure_share/image/architecture.png refreshInterval: 0 rotation: '0' sourceType: disk
-
...@odroidc2:/opt/apps$ tree mycontroller mycontroller āāā executable āĀ Ā āāā LICENSE.txt āĀ Ā āāā logs āĀ Ā āĀ Ā āāā mycontroller.log āĀ Ā āāā mcctl.sh āĀ Ā āāā mc_home āĀ Ā āĀ Ā āāā certs āĀ Ā āĀ Ā āĀ Ā āāā https_ssl āĀ Ā āĀ Ā āĀ Ā āāā mc_generated.crt āĀ Ā āĀ Ā āĀ Ā āāā mc_generated.key āĀ Ā āĀ Ā āāā data āĀ Ā āĀ Ā āĀ Ā āāā firmware āĀ Ā āĀ Ā āĀ Ā āāā storage āĀ Ā āĀ Ā āĀ Ā āāā memory_db āĀ Ā āĀ Ā āĀ Ā āāā yaml āĀ Ā āĀ Ā āĀ Ā āāā dashboard__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā data_repository__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā field__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā gateway__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā handler__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā node__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā schedule__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā settings__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā source__1.yaml āĀ Ā āĀ Ā āĀ Ā āāā user__1.yaml āĀ Ā āĀ Ā āāā logs āĀ Ā āĀ Ā āĀ Ā āāā gateway_logs āĀ Ā āĀ Ā āĀ Ā āāā gw_Gw485.log āĀ Ā āĀ Ā āĀ Ā āāā gw_Gw485.log.20220722_195619 āĀ Ā āĀ Ā āĀ Ā āāā gw_GwCan.log āĀ Ā āĀ Ā āāā tmp āĀ Ā āāā mycontroller-server āĀ Ā āāā mycontroller.yaml āĀ Ā āāā README.txt āĀ Ā .... ....... āĀ Ā āāā RedHatTextVFModified-updated.2aa8547f.woff2 āĀ Ā āāā RedHatTextVF-updated-ItalicModified.9abd7afa.woff2 āāā mc_home āĀ Ā āāā insecure_share āĀ Ā āāā secure_share āĀ Ā āāā image āĀ Ā āāā architecture_mini.png āĀ Ā āāā architecture.png āĀ Ā āāā BB.gif āĀ Ā āāā sablineige.jpg āĀ Ā āāā sablineigem.png āĀ Ā āāā sablineige.png āĀ Ā āāā server-setup.png āāā mycontroller-server-master-linux-arm64.tar.gz.1
ls -lh mycontroller/mc_home/secure_share/image/architecture.png -rw-rw-r-- 1 root root 153K juil. 29 14:53 mycontroller/mc_home/secure_share/image/architecture.png
-
Well, that's okay, we'll just put it aside.
We'll see later.I will probably do a new installation.
I'm testing tomorrow a webcam and mjpg-streamer
https://www.sigmdel.ca/michel/ha/rpi/guide_rpios_03_en.html#video-streamermerci jkandasa
-
@JeeLet I think I found the issue in your setup
move themycontroller/mc_home
intomycontroller/executable/mc_home
your files should be under
mycontroller/executable/mc_home/secure_share
ormycontroller/executable/mc_home/insecure_share
-
I would say only one thing
BRAVOa question: what software do you use for the graphic "architecture.png" ??
-
so this part is not good ???
Re : Armbian - MyC V2 - installcreate directories to keep image files to show it MyController dashboard sudo mkdir -p /opt/apps/mycontroller/mc_home/secure_share sudo mkdir -p /opt/apps/mycontroller/mc_home/insecure_share
-
@JeeLet said in miscellaneous question:
so this part is not good ???
Yes, should be as follows,
sudo mkdir -p /opt/apps/mycontroller/executable/mc_home/secure_share sudo mkdir -p /opt/apps/mycontroller/executable/mc_home/insecure_share
To avoid all the confusions, I would say, You can keep everything inside
mycontroller
directory. Not inmycontroller/executable
-
@JeeLet said in miscellaneous question:
a question: what software do you use for the graphic "architecture.png" ??
I use google doc and insert "drawing" download as png
-
a test with LibreOffice Draw
-
for a clearer view of the state, a mental comfort.
on which scale we are ?yes one more thing can be possible
-
@JeeLet I will check the possibilities on the chart. to track this I have added GH issue: https://github.com/mycontroller-org/console-web/issues/15
-
on the drawing I forgot to put also the
start/end the mini/maxi 0/50