Hello all,
I'v made an AtmoOrb wit just an ESP8266. But I have problems to get it to work...
It did work for some reason, but after shut down it didn't any more.
It is working with the Windows AtmoOrb App; it responds quickly. So the hardware is ok.
My setup is like this:
RBPi3 with WS2801 (x50) connected to the GPIO (is working correctly) OSMC 2016.09/Hyperion installed last week
ESP8266 with AtmoOrb sketch and NeoPixelring with 12 LEDs
Iv'e tried this config:
Code
// Automatically generated configuration file for Hyperion ambilight daemon
// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
// Generated by: HyperCon (The Hyperion deamon configuration file builder)
// Created with HyperCon V1.03.1 (11.06.2016)
{
// DEVICE CONFIGURATION
"device" :
{
"name" : "MyHyperionConfigAtmoOrb",
"type" : "atmoorb",
"port" : 49692,
"output" : "239.15.18.2",
"numLeds" : 12,
"orbIds" : "1",
"skipSmoothingDiff" : 0,
"useOrbSmoothing" : true,
"colorOrder" : "rgb"
},
// COLOR CALIBRATION CONFIG
"color" :
{
"channelAdjustment" :
[
{
"id" : "default",
"leds" : "*",
"pureRed" :
{
"redChannel" : 220,
"greenChannel" : 0,
"blueChannel" : 0
},
"pureGreen" :
{
"redChannel" : 78,
"greenChannel" : 145,
"blueChannel" : 0
},
"pureBlue" :
{
"redChannel" : 17,
"greenChannel" : 0,
"blueChannel" : 167
}
}
],
"temperature" :
[
{
"id" : "default",
"leds" : "*",
"correctionValues" :
{
"red" : 255,
"green" : 255,
"blue" : 225
}
}
],
"transform" :
[
{
"id" : "default",
"leds" : "*",
"hsl" :
{
"saturationGain" : 0.7000,
"luminanceGain" : 1.0000,
"luminanceMinimum" : 0.0000
},
"red" :
{
"threshold" : 0.0000,
"gamma" : 2.7000
},
"green" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
},
"blue" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
}
}
],
// SMOOTHING CONFIG
"smoothing" :
{
"type" : "linear",
"time_ms" : 200,
"updateFrequency" : 20.0000,
"updateDelay" : 0
}
},
// NO V4L2 GRABBER CONFIG
// FRAME GRABBER CONFIG
"framegrabber" :
{
"width" : 64,
"height" : 64,
"frequency_Hz" : 10.0,
"priority" : 890
},
// BLACKBORDER CONFIG
"blackborderdetector" :
{
"enable" : true,
"threshold" : 0.0,
"unknownFrameCnt" : 600,
"borderFrameCnt" : 50,
"maxInconsistentCnt" : 10,
"blurRemoveCnt" : 1,
"mode" : "default"
},
// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19446
},
// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19447
},
// EFFECT PATH
"effects" :
{
"paths" :
[
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},
// NO KODI CHECK CONFIG
// NO BOOTEFFECT CONFIG
// NO BOBLIGHT SERVER CONFIG
// NO JSON/PROTO FORWARD CONFIG
// LED CONFIGURATION
"leds" :
[
{
"index" : 0,
"hscan" : { "minimum" : 0.0000, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
}
],
"endOfJson" : "endOfJson"
}
Alles anzeigen
In de main config (of the WS2801) I'v added:
Code
// JSON/PROTO FORWARD CONFIG
"forwarder" :
{
"json" : ["127.0.0.1:19446"],
"proto" : ["127.0.0.1:19447"]
},
If I run service hyperion status, I get this output. Seems to be right...
Code
● hyperion.service - Hyperion Systemd service
Loaded: loaded (/etc/systemd/system/hyperion.service; enabled)
Active: active (running) since wo 2016-10-12 10:46:40 CEST; 2s ago
Main PID: 958 (hyperiond)
CGroup: /system.slice/hyperion.service
├─958 /usr/bin/hyperiond /etc/hyperion/hyperion.config.json /etc/hyperion/hyperion.config2.json
└─961 /usr/bin/hyperiond /etc/hyperion/hyperion.config.json /etc/hyperion/hyperion.config2.json
okt 12 10:46:40 osmc hyperiond[958]: started
okt 12 10:46:40 osmc hyperiond[958]: INFO: Json server created and started on port 19444
okt 12 10:46:40 osmc hyperiond[958]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
okt 12 10:46:40 osmc hyperiond[958]: INFO: Proto server created and started on port 19445
okt 12 10:46:40 osmc hyperiond[958]: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
okt 12 10:46:40 osmc hyperiond[958]: BLACKBORDER INFO: threshold set to 0 (0)
okt 12 10:46:40 osmc hyperiond[958]: BLACKBORDER INFO: mode:default
okt 12 10:46:40 osmc hyperiond[958]: INFO: Frame grabber created and started
okt 12 10:46:40 osmc hyperiond[958]: BORDER SWITCH REQUIRED!!
okt 12 10:46:40 osmc hyperiond[958]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
osmc@osmc:~$ sudo service hyperion status
● hyperion.service - Hyperion Systemd service
Loaded: loaded (/etc/systemd/system/hyperion.service; enabled)
Active: active (running) since wo 2016-10-12 10:46:40 CEST; 15s ago
Main PID: 958 (hyperiond)
CGroup: /system.slice/hyperion.service
├─958 /usr/bin/hyperiond /etc/hyperion/hyperion.config.json /etc/hyperion/hyperion.config2.json
└─961 /usr/bin/hyperiond --parent 958 /etc/hyperion/hyperion.config2.json
okt 12 10:46:43 osmc hyperiond[958]: BLACKBORDER INFO: mode:default
okt 12 10:46:43 osmc hyperiond[958]: INFO: Frame grabber created and started
okt 12 10:46:43 osmc hyperiond[958]: BORDER SWITCH REQUIRED!!
okt 12 10:46:43 osmc hyperiond[958]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
okt 12 10:46:45 osmc hyperiond[958]: PROTOSERVER INFO: New connection
okt 12 10:46:45 osmc hyperiond[958]: BLACKBORDER INFO: threshold set to 0 (0)
okt 12 10:46:45 osmc hyperiond[958]: BLACKBORDER INFO: mode:default
okt 12 10:46:45 osmc hyperiond[958]: PROTOCONNECTION INFO: Connected to Hyperion: 127.0.0.1:19447
okt 12 10:46:45 osmc hyperiond[958]: BORDER SWITCH REQUIRED!!
okt 12 10:46:45 osmc hyperiond[958]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
Alles anzeigen
I've red here about port bindings, but that should have solved since the June version of Hyperion....
I hope you can help me out.