Domoticz-Google-Assistant (dzga) Topic is solved
Moderator: leecollings
-
- Posts: 76
- Joined: Thursday 07 June 2018 21:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Noordwijk, Netherlands
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hi DewGew,
Sorry, sorry, sorry. Please forget the above.
I had an issue with my reverse proxy and after repairing this I linked my account and al devices were added to my Google home.
Still a few minor issues but thats ok for a sunday. Once again: sorry!
Sorry, sorry, sorry. Please forget the above.
I had an issue with my reverse proxy and after repairing this I linked my account and al devices were added to my Google home.
Still a few minor issues but thats ok for a sunday. Once again: sorry!
-
- Posts: 56
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Domoticz-Google-Assistant (dzga)
i have the same error.samourai47 wrote: ↑Sunday 01 November 2020 21:06 somewhere i found this line
Ngrok was unable to start. Error: 'NgrokTunnel' object has no attribute 'replace' is not valid
But ngrock seems to be ok because he give a new url.
in config.yaml i writed
ngrok_tunnel: true
ngrok_auth_token: 1-------------------yrO9el1_d5DS899GvZaspqPf3SZ3
I don't understand
i have run the following steps without luck:
source Domoticz-Google-Assistant/env/bin/activate
pip3 install pyngrok
deactivate.
and when i whant to resync my devices i get the error: Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync
-
- Posts: 6
- Joined: Tuesday 08 November 2016 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Device already in off state?
Hi, how can I force dzga to turn off a light even if it's already in off state? I always get a response from google saying that the device is already off. I get the following message in the DZGA log:
Unable to execute action.devices.commands.OnOff for Light48. Already in state
Unable to execute action.devices.commands.OnOff for Light48. Already in state
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hi DewGew,
I've been trying for a couple of days now but i can't even seem to get http://localhost:3030/settings running.
It's giving: ERR_CONNECTION_REFUSED.
sudo systemctl status dzga returns with:
"
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: ena
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/D
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Servic
lines 1-9/9 (END)...skipping...
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Service."
I hope you can point me in the right directions cause at the moment i'm clueless.
I've been trying for a couple of days now but i can't even seem to get http://localhost:3030/settings running.
It's giving: ERR_CONNECTION_REFUSED.
sudo systemctl status dzga returns with:
"
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: ena
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/D
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Servic
lines 1-9/9 (END)...skipping...
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Service."
I hope you can point me in the right directions cause at the moment i'm clueless.
-
- Posts: 56
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Domoticz-Google-Assistant (dzga)
i stil get the error in the DZGA log: Ngrok was unable to start. Error: 'NgrokTunnel' object has no attribute 'replace' is not validPeJeWe wrote: ↑Thursday 07 September 2023 12:02i have the same error.samourai47 wrote: ↑Sunday 01 November 2020 21:06 somewhere i found this line
Ngrok was unable to start. Error: 'NgrokTunnel' object has no attribute 'replace' is not valid
But ngrock seems to be ok because he give a new url.
in config.yaml i writed
ngrok_tunnel: true
ngrok_auth_token: 1-------------------yrO9el1_d5DS899GvZaspqPf3SZ3
I don't understand
i have run the following steps without luck:
source Domoticz-Google-Assistant/env/bin/activate
pip3 install pyngrok
deactivate.
and when i whant to resync my devices i get the error: Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync
when i resync my devices i now have the message : Page not found!: 'client_email'
after a server restart i also dont get a new ngrok adres assignd
Last edited by PeJeWe on Monday 11 September 2023 21:54, edited 1 time in total.
-
- Posts: 56
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Domoticz-Google-Assistant (dzga)
could it be tha you have a firewall running UFW perhapsMerlijn wrote: ↑Monday 11 September 2023 11:51 Hi DewGew,
I've been trying for a couple of days now but i can't even seem to get http://localhost:3030/settings running.
It's giving: ERR_CONNECTION_REFUSED.
sudo systemctl status dzga returns with:
"
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: ena
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/D
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Servic
lines 1-9/9 (END)...skipping...
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Service."
I hope you can point me in the right directions cause at the moment i'm clueless.
in that case you can do
sudo ufw disable
sudo ufw allow 3030
sudo ufw enable
this allows you to commuicatie over port 3030
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I tried the first command but it returns with: 'sudo: ufw: command not found.'PeJeWe wrote: ↑Monday 11 September 2023 21:49could it be tha you have a firewall running UFW perhapsMerlijn wrote: ↑Monday 11 September 2023 11:51 Hi DewGew,
I've been trying for a couple of days now but i can't even seem to get http://localhost:3030/settings running.
It's giving: ERR_CONNECTION_REFUSED.
sudo systemctl status dzga returns with:
"
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: ena
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/D
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Servic
lines 1-9/9 (END)...skipping...
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Service."
I hope you can point me in the right directions cause at the moment i'm clueless.
in that case you can do
sudo ufw disable
sudo ufw allow 3030
sudo ufw enable
this allows you to commuicatie over port 3030
Thanks for the suggestion though!
-
- Posts: 56
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Then you don't have this firewall installed.
Maybe you have another installed.
ore you can use for example 192.168.1.100:3030/settings
change it in youre ip adress
Maybe you have another installed.
ore you can use for example 192.168.1.100:3030/settings
change it in youre ip adress
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Don't use http://localhost:3030/settings as url. I should be a ipnr like http://192.168.1.10:3030/settingsMerlijn wrote: ↑Tuesday 12 September 2023 17:11I tried the first command but it returns with: 'sudo: ufw: command not found.'PeJeWe wrote: ↑Monday 11 September 2023 21:49could it be tha you have a firewall running UFW perhapsMerlijn wrote: ↑Monday 11 September 2023 11:51 Hi DewGew,
I've been trying for a couple of days now but i can't even seem to get http://localhost:3030/settings running.
It's giving: ERR_CONNECTION_REFUSED.
sudo systemctl status dzga returns with:
"
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: ena
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/D
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Servic
lines 1-9/9 (END)...skipping...
● dzgaservice - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzgaservice; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-09-11 11:21:32 CEST; 966ms ago
Main PID: 26176 (python3)
Tasks: 1 (limit: 2058)
CGroup: /systemslice/dzgaservice
└─26176 /home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/
sep 11 11:21:32 raspberrypi systemd[1]: Started Domoticz-Google-Assistant Service."
I hope you can point me in the right directions cause at the moment i'm clueless.
in that case you can do
sudo ufw disable
sudo ufw allow 3030
sudo ufw enable
this allows you to commuicatie over port 3030
Thanks for the suggestion though!
Try run manually and see if there is any errors in terminal log:
Code: Select all
cd /home/${USER}/
sudo systemctl stop dzga #If service is running
source Domoticz-Google-Assistant/env/bin/activate
python3 Domoticz-Google-Assistant
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 56
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I have removed dzga and ngrok, and reinstalled it. maybe there are stil some files left over after removing dzga and ngrok.
I still get the ngrok connection error. ("error: 'ngroktunnel' object has no attribute 'replace' is not valid")
i don't get a new tunnel adress, i still get the first adress that i have got in the beginning.
Google Home has bin working for one time.
when i look at ngrok.com i see that that tunnel is running, it don't gets renewed when i restart te server.
has it something to do with "ngrok start --none --log=stdout" ?
or with pyngrok?
Log
could you help DewGew?
I still get the ngrok connection error. ("error: 'ngroktunnel' object has no attribute 'replace' is not valid")
i don't get a new tunnel adress, i still get the first adress that i have got in the beginning.
Google Home has bin working for one time.
when i look at ngrok.com i see that that tunnel is running, it don't gets renewed when i restart te server.
has it something to do with "ngrok start --none --log=stdout" ?
or with pyngrok?
Log
Code: Select all
Domoticz@Domoticz:~ $ sudo systemctl stop dzga
Domoticz@Domoticz:~ $ source Domoticz-Google-Assistant/env/bin/activate
(env) Domoticz@Domoticz:~ $ python3 Domoticz-Google-Assistant
Loading configuration...
Ngrok was unable to start. Error: 'NgrokTunnel' object has no attribute 'replace' is not valid
(Press CTRL+C to stop server)
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
This helped! turns out i made a mistake in my ip number in the configuration.DewGew wrote: ↑Wednesday 13 September 2023 7:58Don't use http://localhost:3030/settings as url. I should be a ipnr like http://192.168.1.10:3030/settings
Try run manually and see if there is any errors in terminal log:Code: Select all
cd /home/${USER}/ sudo systemctl stop dzga #If service is running source Domoticz-Google-Assistant/env/bin/activate python3 Domoticz-Google-Assistant
But now i get the following error in the log:
2023-09-18 13:37:39 - ERROR - Error in getting devices and settings
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Domoticz-Google-Assistant (dzga)
You have to enable Allow Basic Authentication over plain HTTP in menu https://www.domoticz.com/wiki/Applicati ... Protection .Merlijn wrote: ↑Monday 18 September 2023 13:44This helped! turns out i made a mistake in my ip number in the configuration.DewGew wrote: ↑Wednesday 13 September 2023 7:58Don't use http://localhost:3030/settings as url. I should be a ipnr like http://192.168.1.10:3030/settings
Try run manually and see if there is any errors in terminal log:Code: Select all
cd /home/${USER}/ sudo systemctl stop dzga #If service is running source Domoticz-Google-Assistant/env/bin/activate python3 Domoticz-Google-Assistant
But now i get the following error in the log:
2023-09-18 13:37:39 - ERROR - Error in getting devices and settings
Its recomended to add a new user in Domoticz dedicated for DZGA and add devices to this user. See https://www.domoticz.com/wiki/User_Management.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I already set up a user for dzga and enabled Allow Basi Authentication over plain HTTP.DewGew wrote: ↑Tuesday 19 September 2023 8:44You have to enable Allow Basic Authentication over plain HTTP in menu https://www.domoticz.com/wiki/Applicati ... Protection .Merlijn wrote: ↑Monday 18 September 2023 13:44This helped! turns out i made a mistake in my ip number in the configuration.DewGew wrote: ↑Wednesday 13 September 2023 7:58
Don't use http://localhost:3030/settings as url. I should be a ipnr like http://192.168.1.10:3030/settings
Try run manually and see if there is any errors in terminal log:Code: Select all
cd /home/${USER}/ sudo systemctl stop dzga #If service is running source Domoticz-Google-Assistant/env/bin/activate python3 Domoticz-Google-Assistant
But now i get the following error in the log:
2023-09-18 13:37:39 - ERROR - Error in getting devices and settings
Its recomended to add a new user in Domoticz dedicated for DZGA and add devices to this user. See https://www.domoticz.com/wiki/User_Management.
The user has admin rights, so that isn't it either.
Do you have any other things i could check?
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Turns out i had to update my Domoticz, now devices are visible for dzga!Merlijn wrote: ↑Tuesday 19 September 2023 9:11I already set up a user for dzga and enabled Allow Basi Authentication over plain HTTP.DewGew wrote: ↑Tuesday 19 September 2023 8:44You have to enable Allow Basic Authentication over plain HTTP in menu https://www.domoticz.com/wiki/Applicati ... Protection .
Its recomended to add a new user in Domoticz dedicated for DZGA and add devices to this user. See https://www.domoticz.com/wiki/User_Management.
The user has admin rights, so that isn't it either.
Do you have any other things i could check?
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
DewGew wrote: ↑Tuesday 19 September 2023 8:44You have to enable Allow Basic Authentication over plain HTTP in menu https://www.domoticz.com/wiki/Applicati ... Protection .Merlijn wrote: ↑Monday 18 September 2023 13:44This helped! turns out i made a mistake in my ip number in the configuration.DewGew wrote: ↑Wednesday 13 September 2023 7:58
Don't use http://localhost:3030/settings as url. I should be a ipnr like http://192.168.1.10:3030/settings
Try run manually and see if there is any errors in terminal log:Code: Select all
cd /home/${USER}/ sudo systemctl stop dzga #If service is running source Domoticz-Google-Assistant/env/bin/activate python3 Domoticz-Google-Assistant
But now i get the following error in the log:
2023-09-18 13:37:39 - ERROR - Error in getting devices and settings
Its recomended to add a new user in Domoticz dedicated for DZGA and add devices to this user. See https://www.domoticz.com/wiki/User_Management.
Last thing (for now problably), how do i keep ngrok running? As soon as i stop the putty connection to my raspberry, ngrok stops as well.
-
- Posts: 30
- Joined: Saturday 01 July 2017 12:48
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Latest versions stable domoticz and dzga I use ngrok free connection with google home works fine.
Sychr domoticz dzga function oke.
Problem is that devices in google home app are showing offline, but voice command works for all devices.
When I change roomnumber in dzga instandly correct devices for that room in google home but showing offline voice command works well.
I change smart-key several times but didn't solved the problem. I added google nest IP as trusted IP in domoticz
What can be the problem.
Sychr domoticz dzga function oke.
Problem is that devices in google home app are showing offline, but voice command works for all devices.
When I change roomnumber in dzga instandly correct devices for that room in google home but showing offline voice command works well.
I change smart-key several times but didn't solved the problem. I added google nest IP as trusted IP in domoticz
What can be the problem.
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Can you tell me how you set up ngrok?gvandick wrote: ↑Wednesday 20 September 2023 14:25 Latest versions stable domoticz and dzga I use ngrok free connection with google home works fine.
Sychr domoticz dzga function oke.
Problem is that devices in google home app are showing offline, but voice command works for all devices.
When I change roomnumber in dzga instandly correct devices for that room in google home but showing offline voice command works well.
I change smart-key several times but didn't solved the problem. I added google nest IP as trusted IP in domoticz
What can be the problem.
This might help me with my problem.
-
- Posts: 30
- Joined: Saturday 01 July 2017 12:48
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I asume you installed ngrok on your raspberry.
For configuration
Ngrok instellingen
sudo nano ~/.ngrok2/ngrok.yml
tunnels:
nginx-server:
proto: http
addr: 3030
bind-tls: true
console_ui: false
authtoken: jouw authtoken
region: eu
sudo nano /etc/systemd/system/ngrok-client.service
[Unit]
Description=ngrok client
After=network.target
[Service]
ExecStart=/home/pi/ngrok start --all -config /home/pi/.ngrok2/ngrok.yml
Restart=on-abort
[Install]
WantedBy=multi-user.target
For configuration
Ngrok instellingen
sudo nano ~/.ngrok2/ngrok.yml
tunnels:
nginx-server:
proto: http
addr: 3030
bind-tls: true
console_ui: false
authtoken: jouw authtoken
region: eu
sudo nano /etc/systemd/system/ngrok-client.service
[Unit]
Description=ngrok client
After=network.target
[Service]
ExecStart=/home/pi/ngrok start --all -config /home/pi/.ngrok2/ngrok.yml
Restart=on-abort
[Install]
WantedBy=multi-user.target
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I'm getting the following error when editing ngrok.yaml:gvandick wrote: ↑Thursday 21 September 2023 8:23 I asume you installed ngrok on your raspberry.
For configuration
Ngrok instellingen
sudo nano ~/.ngrok2/ngrok.yml
tunnels:
nginx-server:
proto: http
addr: 3030
bind-tls: true
console_ui: false
authtoken: jouw authtoken
region: eu
sudo nano /etc/systemd/system/ngrok-client.service
[Unit]
Description=ngrok client
After=network.target
[Service]
ExecStart=/home/pi/ngrok start --all -config /home/pi/.ngrok2/ngrok.yml
Restart=on-abort
[Install]
WantedBy=multi-user.target
ERROR: Invalid configuration file saved at "/home/pi/.config/ngrok/ngrok.yml": Error reading configuration file '/home/pi/.config/ngrok/ngrok.yml': YAML parsin g error: yaml: unmarshal errors:
ERROR: line 5: field nginx-server not found in type config.v2yamlConfig
ERROR: line 6: field proto not found in type config.v2yamlConfig
ERROR: line 7: field addr not found in type config.v2yamlConfig
ERROR: line 8: field bind-tls not found in type config.v2yamlConfig
-
- Posts: 12
- Joined: Friday 11 November 2022 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: NL
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Managed to keep ngrok running after logging off with: nohup ngrok http 3030 &Merlijn wrote: ↑Thursday 21 September 2023 11:01I'm getting the following error when editing ngrok.yaml:gvandick wrote: ↑Thursday 21 September 2023 8:23 I asume you installed ngrok on your raspberry.
For configuration
Ngrok instellingen
sudo nano ~/.ngrok2/ngrok.yml
tunnels:
nginx-server:
proto: http
addr: 3030
bind-tls: true
console_ui: false
authtoken: jouw authtoken
region: eu
sudo nano /etc/systemd/system/ngrok-client.service
[Unit]
Description=ngrok client
After=network.target
[Service]
ExecStart=/home/pi/ngrok start --all -config /home/pi/.ngrok2/ngrok.yml
Restart=on-abort
[Install]
WantedBy=multi-user.target
ERROR: Invalid configuration file saved at "/home/pi/.config/ngrok/ngrok.yml": Error reading configuration file '/home/pi/.config/ngrok/ngrok.yml': YAML parsin g error: yaml: unmarshal errors:
ERROR: line 5: field nginx-server not found in type config.v2yamlConfig
ERROR: line 6: field proto not found in type config.v2yamlConfig
ERROR: line 7: field addr not found in type config.v2yamlConfig
ERROR: line 8: field bind-tls not found in type config.v2yamlConfig
Who is online
Users browsing this forum: No registered users and 0 guests