Does not work command: http://username:password@domoticz ip:port

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!

Moderators: leecollings, remb0

FlyingDomotic
Posts: 303
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Does not work command: http://username:password@domoticz ip:port

Post by FlyingDomotic »

When using API, if host is not in trusted list, you could provide user and password using a header like:

Code: Select all

'Authorization': 'Basic <here user and password base64 encoded>
User avatar
habahabahaba
Posts: 190
Joined: Saturday 18 March 2023 14:44
Target OS: Windows
Domoticz version: 2024.4
Contact:

Re: Does not work command: http://username:password@domoticz ip:port

Post by habahabahaba »

I'm copying DB to nas every day and as an extra way - send the copy to Telegram via dz script
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Does not work command: http://username:password@domoticz ip:port

Post by gizmocuz »

Why would you copy the database 'everyday'? Is once a month not enough?
(Or just make a backup before you update)
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest