Skip to content

Latest commit

 

History

History
65 lines (62 loc) · 1.74 KB

README.md

File metadata and controls

65 lines (62 loc) · 1.74 KB

Build Status MIT Licence

smart-home

.env file format

# Mongo DB conf
DB_HOST=localhost
DB_NAME=smart-home
DB_USER=root
DB_PASS=s1mpl3
# Cokkie session
COOKIESESSION_NAME=smart-home
COOKIESESSION_KEY1=key1
COOKIESESSION_KEY2=key2
# Node environment
NODE_ENV=development
# BCrypt
SALT_FACTOR=10
# Server options
PORT=3000
# Vue dev tools
VUE_DEV=true
# App admin user and password (will be created by default when the app start if he doesn't exist')
[email protected]
APP_ADMIN_PASS=s1mpl3p@ss

Ble peripheral data array as saved in app

[ f81d78604bcd: Peripheral {
    _noble:
     Noble {
       state: 'poweredOn',
       address: '5c:f3:70:80:70:e4',
       _bindings: [Object],
       _peripherals: [Object],
       _services: [Object],
	   _characteristics: [Object],
       _descriptors: [Object],
       _discoveredPeripheralUUids: [Object],
       _events: [Object],
       _eventsCount: 3,
       _allowDuplicates: undefined },
    id: 'f81d78604bcd',
    uuid: 'f81d78604bcd',
    address: 'f8:1d:78:60:4b:cd',
    addressType: 'public',
    connectable: true,
    advertisement:
     { localName: 'LEDBLE-78604BCD',
       txPowerLevel: undefined,
       manufacturerData: undefined,
       serviceData: [],
       serviceUuids: [Object],
       solicitationServiceUuids: [],
       serviceSolicitationUuids: [] },
    rssi: -65,
    services: null,
    state: 'disconnected' } 
]

Before running

  • Follow the installation instrucions on noble for your operating system