ccarlo64 / freemother

4 stars 5 forks source link

Deployment help? #1

Open crossoft opened 5 years ago

crossoft commented 5 years ago

Hello! I found your post on http://nabaztag.forumactif.fr/t15361-free-mother and then this repo. Do you have any deployment / installation guide? (applying firmware updates, finding cookie ID's, and so on)

I have 6 mothers and 50+ cookies and until today thought they were dead and trash until finding this, so I am extremely encouraged and would like to help or participate.

Christopher @crossoft

ccarlo64 commented 5 years ago

Hello! I found your post on http://nabaztag.forumactif.fr/t15361-free-mother and then this repo. Do you have any deployment / installation guide? (applying firmware updates, finding cookie ID's, and so on)

I have 6 mothers and 50+ cookies and until today thought they were dead and trash until finding this, so I am extremely encouraged and would like to help or participate.

Christopher @crossoft

Hi Christopher, the installation guide is the one you found in the forum, if it is not clear (ehm..) ask.. For reasons of time, unfortunately I'm neglecting the project .. every help is welcome!

Carlo

crossoft commented 5 years ago

I will try to help. Since my firewall allows me to override DNS (for in.sen.se), do I need to override the ntp server addressing? I've skipped the dnsmasq settings for now and moved onto the Python setup in the meantime.

I will also work to build a readme file.

On Mon, Feb 18, 2019, 12:44 ccarlo64 <notifications@github.com wrote:

Hello! I found your post on http://nabaztag.forumactif.fr/t15361-free-mother and then this repo. Do you have any deployment / installation guide? (applying firmware updates, finding cookie ID's, and so on)

I have 6 mothers and 50+ cookies and until today thought they were dead and trash until finding this, so I am extremely encouraged and would like to help or participate.

Christopher @crossoft https://github.com/crossoft

Hi Christopher, the installation guide is the one you found in the forum, if it is not clear (ehm..) ask.. For reasons of time, unfortunately I'm neglecting the project .. every help is welcome!

Carlo

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-464824777, or mute the thread https://github.com/notifications/unsubscribe-auth/AHebUYiqJUXht5jfOpqUj9mYmYNS8qRGks5vOuZpgaJpZM4a_2Hh .

ccarlo64 commented 5 years ago

Thanks Christopher! if the computer with Mother is connected to the internet, the ntp request should be successful, so it is not necessary to remap it.

Carlo

Il giorno lun 18 feb 2019 alle ore 18:55 Christopher L Miller < notifications@github.com> ha scritto:

I will try to help. Since my firewall allows me to override DNS (for in.sen.se), do I need to override the ntp server addressing? I've skipped the dnsmasq settings for now and moved onto the Python setup in the meantime.

I will also work to build a readme file.

On Mon, Feb 18, 2019, 12:44 ccarlo64 <notifications@github.com wrote:

Hello! I found your post on http://nabaztag.forumactif.fr/t15361-free-mother and then this repo. Do you have any deployment / installation guide? (applying firmware updates, finding cookie ID's, and so on)

I have 6 mothers and 50+ cookies and until today thought they were dead and trash until finding this, so I am extremely encouraged and would like to help or participate.

Christopher @crossoft https://github.com/crossoft

Hi Christopher, the installation guide is the one you found in the forum, if it is not clear (ehm..) ask.. For reasons of time, unfortunately I'm neglecting the project .. every help is welcome!

Carlo

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/ccarlo64/freemother/issues/1#issuecomment-464824777 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AHebUYiqJUXht5jfOpqUj9mYmYNS8qRGks5vOuZpgaJpZM4a_2Hh

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-464827764, or mute the thread https://github.com/notifications/unsubscribe-auth/AKFQwMv4xk3b0XWppG3BSADFMRCHr_Caks5vOuj8gaJpZM4a_2Hh .

crossoft commented 5 years ago

Hello @ccarlo64 ! I am trying to make progress. :)

However when powering up the Mother it never goes to smile; and no activity is seen on either of the running Python scripts. Can you give me any ideas on troubleshooting it?

crossoft commented 5 years ago

I would add, I am using the default ports (freemother.py ->80, freemothersql11.py -> 9001) in case I should change them to something else.

crossoft commented 5 years ago

Strangely and thankfully it started communicating with the local server...after several hours :) will keep you posted

ccarlo64 commented 5 years ago

read now, I'm sorry luckily everything works for you! check the small fix I added maybe it helps you

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Mail priva di virus. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Il giorno dom 28 apr 2019 alle ore 17:36 Christopher L Miller < notifications@github.com> ha scritto:

Strangely and thankfully it started communicating with the local server...after several hours :) will keep you posted

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-487390102, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQVBQGTMYGB2VUHWTWS3UDPSW77BANCNFSM4GX7MHQQ .

crossoft commented 5 years ago

Many thanks and no problem, I know you're busy. Appreciate it!

crossoft commented 5 years ago

I am trying to understand the feed_type values, and trying to reverse engineer the code a bit. Can you help me with what you've been able to ascertain so far? feed_type's - 1, 2, 3, 4, 5, 99

I believe 2 is voltage based upon the values.

I believe that 3 is movement because it looks like it's three values (from an accelerometer) though I don't know the valid ranges.

I'm not sure what 4 and 5 are - assuming one of them are temperature but not sure how to interpret the values.

Any insights are appreciated!

crossoft commented 5 years ago

I am thinking that feed_type == 5 is temperature if the value is temperature in Fahrenheit ?

ccarlo64 commented 5 years ago

Hi!, yes! here I had found some help

https://forums.indigodomo.com/viewtopic.php?f=179&t=13852&start=15 ..... "feed_type" "value" updated every 1 = alive package 0/1/2 58 seconds values: 0=Absent; 1=Present not linked; 2=Present 2 = battery 4 digits 4 digit #=3123mV 15 minutes 3 = motion 1,2,3 3 number a,b,c 15 minutes for "Walk-mode". --10 seconds for "Door-mode" if movement detected 4 = only for type “door” 4 digit # don't know what this is, the data is not available on SEN.SE 5 = temp 4 digits 9101=91.01F 15 minutes .... I also update the test program

Carlo

Il giorno lun 29 apr 2019 alle ore 14:50 Christopher L Miller < notifications@github.com> ha scritto:

I am thinking that feed_type == 5 is temperature if the value is temperature in Fahrenheit ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-487566648, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQVBQBRQ2IUBTDJW7HM27DPS3VHZANCNFSM4GX7MHQQ .

crossoft commented 5 years ago

@ccarlo64 this is great information! I will work with this and let you know my findings. Do you have any info on how to program a cookie to go to "Door mode" (or in general turn on motion detection)?

ccarlo64 commented 5 years ago

I'm sorry, I have no other information for Door mode sensors :-(

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Mail priva di virus. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Il giorno mer 1 mag 2019 alle ore 06:01 Christopher L Miller < notifications@github.com> ha scritto:

@ccarlo64 https://github.com/ccarlo64 this is great information! I will work with this and let you know my findings. Do you have any info on how to program a cookie to go to "Door mode" (or in general turn on motion detection)?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-488205940, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQVBQAA6BRDXVSHNDQNIXLPTEIYRANCNFSM4GX7MHQQ .

crossoft commented 5 years ago

I think this is the biggest challenge is that we don't know how to tell the cookies to begin transmitting motion. And it could literally be anything ... any text command from the server to tell the Mother to program the cookie. Hmm.

crossoft commented 5 years ago

Hello @ccarlo64 thanks for lending your ideas and information.

Do you have any knowledge of the following

?

Apologies if you documented this somewhere already.

crossoft commented 5 years ago

btw, we are also beginning a tear down of a Mother to see if any software/firmware can be retrieved from the board in it. we are far from experts there, however

ccarlo64 commented 5 years ago

Hi,

I had failed to make a sound on command..

when you touch the face mother sends {"resource": "events", "method": "post", "body": [{"timestamp": "2018-03-22 22:01:54", "feed_type": "6", "value ":" xxx "}]}

where xxx is the time of pressure, if I remember correctly...

I don't remember the command to change eye color now, as soon as I can I try it again

I tried to recover the fw but the pic is protected, but you can read the external flash that contains 'maybe' a backup; if anyone wants to disassemble it ...

Carlo

Il giorno mar 7 mag 2019 alle ore 03:55 Christopher L Miller < notifications@github.com> ha scritto:

Hello @ccarlo64 https://github.com/ccarlo64 thanks for lending your ideas and information.

Do you have any knowledge of the following

  • How to play a sound at the Mother
  • What the event looks like when Mother is touched
  • How to change Mother eye colors
  • How to make Mother blink

?

Apologies if you documented this somewhere already.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-489876250, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQVBQDMKVHWWDSC2373SJTPUDOQ3ANCNFSM4GX7MHQQ .

crossoft commented 5 years ago

Ah, that's too bad if it's protected. I think we will try anyway, though. I may try to outsource that.

Thanks as always for your rapid replies.

crossoft commented 5 years ago

@ccarlo64 a question for you, do you have recommendations on how to tear down the Mother without destroying it? There is a seam in the middle of it but I can't find a way to pry it open cleanly. Thanks!

ccarlo64 commented 5 years ago

Hi, unfortunately it is hard plastic, you risk breaking it it send some photos to make you understand how it is made you can also see my signs with the screwdriver ... :-) Carlo [image: m4s.jpg] [image: m3s.jpg] [image: m2s.jpg] [image: m1s.jpg]

Il giorno ven 10 mag 2019 alle ore 14:14 Christopher L Miller < notifications@github.com> ha scritto:

@ccarlo64 https://github.com/ccarlo64 a question for you, do you have recommendations on how to tear down the Mother without destroying it? There is a seam in the middle of it but I can't find a way to pry it open cleanly. Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-491267762, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQVBQDNVSIUTOBLHRADSLTPUVRLBANCNFSM4GX7MHQQ .

crossoft commented 5 years ago

Ah for some reason I can't get the image attachments.

ccarlo64 commented 5 years ago

try this! http://carcar.altervista.org/img/m1s.jpg http://carcar.altervista.org/img/m2s.jpg http://carcar.altervista.org/img/m3s.jpg http://carcar.altervista.org/img/m4s.jpg

Carlo

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Mail priva di virus. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Il giorno sab 11 mag 2019 alle ore 15:29 Christopher L Miller < notifications@github.com> ha scritto:

Ah for some reason I can't get the image attachments.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccarlo64/freemother/issues/1#issuecomment-491511294, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQVBQHPNWYHBANM25TIKTLPU3C5JANCNFSM4GX7MHQQ .

crossoft commented 5 years ago

Got it! Yes they did make it hard to get apart. Thanks, this helps!

crossoft commented 5 years ago

Hello all, just an update. This morning, I spoke for an hour with Emmanuel G, president of Eridanis (who bought and later filed bankruptcy for Sen.se). He said he wishes he could send us code from the Mother, but cannot under French law, because the company was liquidated. I think the biggest gap in functionality at present is how to change modes on a cookie (signal, and motion).