User based on ip address

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

User based on ip address

Post by pepijn »

By default all devices connecting to Domoticz from the internal network are logged in as admin user. I have several devices that i would like to login as a different user. (Tablets on the wall). A simple solution could be to add an IP address field to the user record, and if a device connects from that ip the assigned user is used to login.
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: User based on ip address

Post by gizmocuz »

You can add those ip addresses in the local network setting in the settings page
Quality outlives Quantity!
Raspberry Piet
Posts: 158
Joined: Saturday 11 January 2014 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Re: User based on ip address

Post by Raspberry Piet »

I also like this to achieve, can't see how to set it in the settings?
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: User based on ip address

Post by gizmocuz »

Okey, I got some ideas.... now the time to implement it ;)
Quality outlives Quantity!
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: User based on ip address

Post by pepijn »

Could you share your ideas ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest