Testers for Dev wanted :: Community Hardware (for Domoticz) Topic is solved

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

Is the community interested in a Community edition Hardware?

Yes, definitely
34
52%
Maybe if it goes via an open Kickstarter or similar campaign and I can have it fully built
18
27%
Probably not
5
8%
Only if I can get it as DIY in part to assembly myself
9
14%
Something else (please leave comment on forum thread)
0
No votes
 
Total votes: 66

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Thursday 01 February 2018 16:48

Oh! I meant to ask, if anyone has recommendations for low volume PCB manufacturing and enclosure making?
Tempted with metal cases too...

Please let me know
11101101 - www.machinon.com

febalci
Posts: 311
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Community Hardware (for Domoticz)

Post by febalci » Thursday 01 February 2018 17:10

Sorry for my ignorance @EddieN, Machinon V2 card is supposed to be the 2 x Xmega as far as i understand from your notes. Is it an Arduino compatible card? And this PCB is supposed to be used in terms of increasing input and output ports? Couldn't find any info on logicenergy.com. I believe in order for the project to be a real community hardware, the components should be widely available; and of course, the reasons and info to prefer this hardware should also be available for all us noobs. Maybe a DIN rail support for the case also would be a plus. Maybe would prefer your hardware instead of a NUC i am planning to use for Domoticz instead of my good old Synology. Keep up the good work...

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Thursday 01 February 2018 19:29

febalci wrote:
Thursday 01 February 2018 17:10
Sorry for my ignorance @EddieN, Machinon V2 card is supposed to be the 2 x Xmega as far as i understand from your notes. Is it an Arduino compatible card? And this PCB is supposed to be used in terms of increasing input and output ports? Couldn't find any info on logicenergy.com. I believe in order for the project to be a real community hardware, the components should be widely available; and of course, the reasons and info to prefer this hardware should also be available for all us noobs. Maybe a DIN rail support for the case also would be a plus. Maybe would prefer your hardware instead of a NUC i am planning to use for Domoticz instead of my good old Synology. Keep up the good work...
This is very new for me too (the open community). Yes, Logic Energy is my company which specialised on industrial solutions, mostly on energy side of things. During the design of this unit, I could not help to start tinkering with it at home since the accuracy I was getting from a RPI was not good enough for me. Then is when I thought that an open alternative of the solution could be use for the community, a bit like CentOS and RedHat. The kind of services the company provides would be to expensive for domestic use, so what would be the point? Besides, as a home user, I don't like either my home data going into the cloud :D - I have CCTV too!

Hopefully that makes sense so far?
Now how to make this a community project? Well, I'll ask the community :) I have no idea! My idea was to be open about manufacturing costs, even offer the fully assembled product but in DIY format (pieces to be put together). The key thing is that support comes from the community... feel free to suggest. I have no idea on open things.

Regarding your technical questions:
- Is it an Arduino compatible card? -> Never have used Arduino, so don't know. Always used tools like Bascom and IAR. This one is done in IAR C. Schematics for I/Os to hardware if the community is interested will be released so anyone can code the Atmel chips with anything they want.
- And this PCB is supposed to be used in terms of increasing input and output ports? -> More than that, In general most of the expansion cards I used in the past are not that time accurate (ie metering, fast pulses), this board fixes that with the two Atmega chips. The plan is that the RPI interfaces with them with simple commands via UART. A bit like mysensors in Domoticz. ie: Give me count readings input 1, or all...
Also added a few more Inputs for ADC, current measurement (this is more an industrial need)
- the components should be widely available -> yes, they just need to be put together, in the case of the board, assembled by a PCBA but the components are typical from Farnell, Mouser...
-> The standard size is a M12 DIN

In general, I came to this conclusion (I could be wrong) after using open source products for many years. Eventually the ones that I enjoyed the most are the ones that usually had some kind of organisation backup because there's a continuation since the product is used for something else besides just open source.

Sorry long answer, I'm just trying to find how to handle this. Your feedback and questions (and many others please) is very welcome.
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Thursday 08 February 2018 20:38

********* Looking for some feedback/help form members confortable with embedded software **********

The unit has an LCD, with this controller chip: "ST7565R"
The way I hardwired the LCD is to Xmega SPI bus, the reason behind it is that I thought since the RPI has already an HDMI port... why give it another one. However I'm thinking it may be useful to actually being able to program it from the RPI itself.

QUESTION:
The LCD can be driven by the Xmega and translate it with a simpler pseudo UART interface to push strings, etc... (for graphics is more complicated), which for any user will be easier to get running..
or
The LCD can be "piped" via the Xmega so it delivers a transparent connection to the LCD controller
or
Disconnect the LCD from the Xmega SPI bus and just hand it over to the RPI. There're a few projects already controlling it using Python:
https://github.com/rdagger/Pi-ST7565 and https://www.raspberrypi.org/forums/view ... 32&t=25029

I guess it is simplicity with less features for majority... or complexities (you write your own Python code) with all the features.

I honestly do not know. Feedback please :?
11101101 - www.machinon.com

febalci
Posts: 311
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Community Hardware (for Domoticz)

Post by febalci » Thursday 08 February 2018 21:55

In my humble opinion, altough it seems first if it is complex using Python and RPI, i always believe keeping all features intact, might give users with programming capabilities to further add more options. Also, using already available options and codes as you gave examples of, might give future graphics etc. Options. you work on hardware side and make others work on codes and programming. Also i have to add; i never developed any hardware; so this is just a user opinion with average coding skills...

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Thursday 08 February 2018 23:28

Fair point! Do the links I pasted make any sense from a RPI coding perspective?
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Thursday 22 February 2018 20:13

Making progress... today we have comms!

Apologies for the poor video, not easy to do everything with just two hands, but hopefully you can see something.
So far the protocol used to talk to Domoticz is following MySensors documentation. It would be nice to have a separate config, but since it full-fills so far the requirements why re-invent the wheel? Feedback welcome.

Every set of block I/O group is declared as a node with multiple child devices. For example the analogue inputs are a node, with multiple child inputs below. Still have to build the scaling menu so the data push to Domoticz is not raw, may need setup.html or so for this.


I have a quick question, see video below:

These energy readings come from a pulse counter, if you look closely, you will see that the total kWh changes but not the Watt. I'm a bit confused whether Domoticz extracts that from kWh or I need to push that value too. Like a compound sensor... the information on MySensors was a bit confusing for me.

This is where it starts to merge things and gets really interesting. I'm hoping in a few weeks to be in a position to release an alpha to see how is best to make it compatible out of the box. Reading on www.domoticz.com it mentions about donation to main developers to buy "toys" to play. Is there any veteran around? I'm not sure where I need help yet, but feedback is a good start! :D
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Friday 23 February 2018 21:22

Is there someone within the community with a bit of know how about Domoticz, electronics stuff, the usual that could have a good application for one of these babies and willing to provide a lot of feedback? I have only 1-2 spare boards that I hope to release in a month or so for very early field test.
11101101 - www.machinon.com

User avatar
emme
Posts: 821
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Community Hardware (for Domoticz)

Post by emme » Saturday 24 February 2018 10:57

I would love to!
but let me specify I'm just a poor enthusiastic in electronics than a specialist :P

I'd like to install it in my house at sea in Sardinia, where, unfortunately, I'm not plan to go since April/may:(
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Tuesday 27 February 2018 21:56

The important thing is feedback and easy access to it in case things go wrong...
11101101 - www.machinon.com

User avatar
emme
Posts: 821
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Community Hardware (for Domoticz)

Post by emme » Wednesday 28 February 2018 9:48

that would be not a problem

I can also install it as a secondary (indipendent) server in my house and have it control few things...
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Wednesday 28 February 2018 11:27

emme wrote:that would be not a problem

I can also install it as a secondary (indipendent) server in my house and have it control few things...
Ok, I’ll keep you posted. Still a few weeks to go. Also finding that MySensors does not have sensor types for many think we will use so still learning about it
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Saturday 03 March 2018 14:10

This is shaping nicely....
ImageImage


Sent from my iPhone using Tapatalk
11101101 - www.machinon.com

User avatar
emme
Posts: 821
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Community Hardware (for Domoticz)

Post by emme » Monday 05 March 2018 9:11

wow.. that looks nice...
which bus is that and what kind of node did you use? (just to understand how to wire my house :P :P)
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Monday 05 March 2018 12:39

I’m tapping on mysensors protocol. So the board works out of the box. That said, the board needs some configuration which will have to be done via a separate embedded web page


Sent from my iPhone using Tapatalk
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Saturday 31 March 2018 10:51

Still here, haven't forgotten about this project... :P

I need to upload a video, but one of the things I noticed while debugging is that when the main board pushes say 16 metrics in one go... it takes a fair bit of time (in computer time, not human time) to process them. I'm doing this with Windows with a debug window open.

Is this normal? I wouldn't expect a PC to be so slow to absorb data. Or is it because Domoticz uses a timed synchronous system for processing data?
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Tuesday 03 April 2018 21:08

EdddieN wrote:Still here, haven't forgotten about this project... :P

I need to upload a video, but one of the things I noticed while debugging is that when the main board pushes say 16 metrics in one go... it takes a fair bit of time (in computer time, not human time) to process them. I'm doing this with Windows with a debug window open.

Is this normal? I wouldn't expect a PC to be so slow to absorb data. Or is it because Domoticz uses a timed synchronous system for processing data?
Ok tested with RPi3, seems a lot faster....


Sent from my iPhone using Tapatalk
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Saturday 14 April 2018 12:28

emme wrote:
Monday 05 March 2018 9:11
wow.. that looks nice...
which bus is that and what kind of node did you use? (just to understand how to wire my house :P :P)
Hello Emme,

Can you give me a brief description for your test? I'm pretty close to be on user friendly(sh) format now but will help to know what your needs will be. So far everything is accessible from Domoticz, however the configuration of the I/Os is a bit ugly (working on a user interface no). A few questions:

1.- Are you ok with just a board? The enclosure is not pretty for now, happy to send you a blank case if you are handy with a dremel making holes? As you can see from the attached picture... I'm terrible at this handycraft thing :D
2.- You'll need a spare RPI3
3.- Are you a bit handy with AVRDUDE just in case we need to reflash the onboard chips? There's a way for the RPI to flash the chips from the SD card, but still a bit crude

Probably we'll need to take the conversation offline anyway.

If there's anyone else with an interest test use for these, I have some spare prototypes. Just need to make sure you are a bit handy and you give them lots of use so I can get feedback.
proto.jpg
proto.jpg (126.47 KiB) Viewed 726 times
11101101 - www.machinon.com

User avatar
EdddieN
Posts: 347
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Community Hardware (for Domoticz)

Post by EdddieN » Saturday 14 April 2018 12:35

Oh! Just to clarify: When I say a few prototypes I mean 1-2 more, I did manufacture 5 in total and probably need access to 3, the other 2 can go. Maybe at a later stage I can release the 3rd one.

I'm not looking for money in exchange, although I would highly encourage you to donate to Domoticz cause if you like the prototype. It is a fully working unit, just needs to be updated with the friendliness that Domoticz has for its interface.

What I'm looking in exchange is a lot of patience and feedback to make these hardware units a perfect companion to Domoticz. You do not need to be wiz in coding but handy with terminal and not afraid to try things.

The communications between the board and Domoticz are done via internal UART using MySensors protocol. I though why re-invent the wheel since there's something there that can work. This is working well, I just wish it was more flexibility in type (name and units) sensors.

Feel free to pm me if interested, although I would prefer to keep the conversation open here in the forum so we can all learn from it.
11101101 - www.machinon.com

User avatar
emme
Posts: 821
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Community Hardware (for Domoticz)

Post by emme » Monday 16 April 2018 9:08

Ciao,

sorry for my delay... I've been off for some personal reasons...
At the moment my plans were to try to install it in my house at sea and use to monitor lights and gardening, but unfortunately I had to change my plans and this year we will not going there
your prototype looks really good, but up to now I cannot figure out how to test it :(
I'm so sorry :( :(
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests