Open andyjshepherd opened 4 years ago
Info From Log
Aug 14 20:05:54 localhost nymead[2178]: stack smashing detected :
Has anyone got any update on this? I need to get this working. Unipi is advertised as being used with Nymea and there is even a tutorial based on using it with a hot tub. I went both products knowing that they both are compatible but they are both currently unusable! Thanks
As stated in the forum the reported issues are work in progress and it will take some days until the update is beeing released.
In your debug logs I saw you are using the deprecated plug-in 'nymea-plugin-genericinterfaces', I guess this is stated in the Hot Tub tutorial, nevertheless this plug-in has been replaced by nymea-plugin-genericthings, please install this plug-in either by 'sudo apt install nymea-plugin-genericthings' or with the nymea:app update manager.
Boernsman, Sorry I didn't mean to sound rude and it may have come across that way. Thanks for telling me about the deprecated plug-in.
Thanks for your time on this!
The changes are bigger than expected, but I made good progress today.
I guess you are using the nymea image? If so, you need to enable the PWM, which is required for the analog output. Add this line: 'dtoverlay=pwm-2chan' to the file '/boot/config.txt' and reboot. After the reboot this directory should exist: '/sys/class/pwm/pwmchip0' In the next Raspberry image we will add it by default.
The UniPi plug-in crashes nymea, which is constantly restarting, leading to the connection issues your are experiencing.
Great thank you! I've added the above and the directory does exist. Do I need to enable Experimental or Testing update sources for this update or are you waiting to fix the analog input before you release the update?
Thanks for your help!
You will be required to enable the Experimental update channel.
There is still one issue with the Analog Inputs, but this is maybe caused by my faulty hardware. Both Analog input channels display the same voltage, please test if it is also the case on your side. Since I get the same voltage on both channels, I'm not sure if the channel numbering is correct.
@shepherdaudio Did you test the new release? Are the analog inputs working?
Hi! I cant get the Unipi to show up in "Add things" How do i setup the "Unipi Gateway"???
/Jesper
There's a plugin named nymea-plugin-unipi2
. You'll need to install that and then you should be able to add your unipi in the usual way of adding things
I have the unipi2 plugin installed but it wont show up in things. Double checked that it is installed
I read something about setting up the Unipi gateway inside nymea? But im not sure how to do that.
Hmm... I have never used this plugin, but looking at the plugin code it seems you'll have to configure some stuff in System Settings -> Plugins -> Unipi.
Once that's done, you can go to Main menu -> configure things -> + and add the unipi model you have.
Perhaps @Boernsman can comment on this?
Tried with the latest version of nymea and installed the wiringpi and the unipi2 plugin. Now it shows up but get an error when trying to add Unipi as a thing :(
Hello!
I’ve just got my Unipi running with Nymea and I can see the gateway and the inputs and outputs etc
A few things. Firstly most important. Each time I change a state of a digital output it then closes the connection. I can’t seem to get to the bottom of this.
It turns the output on but then it closes the connection. Once it reconnects it the digital output also turns off but the core thinks its turned on.
Secondly. There is no option for analogue in. It just says this thing cannot be found
Thirdly. There is only 6 digital outputs. But there is 8 on the board.
I’ve tried using a raspberry pi 3 and rpi 4