Jump to content
jedimatt42

Force Command ver 0.8 : kinda like command.com from 1985

Recommended Posts

1 hour ago, twoodland said:

I was hoping to be able to control one of the tipi gpio output pins.  Can force command cause a script to run on the Raspberry Pi (https://www.raspberrypi.org/documentation/usage/gpio/python/README.md)? 

 

A command like LED On/Off?  Then it could be incorporated into batch files/programs to toggle a notification led light.

 

 

This is a request to extend the TIPI services, not just Force Command... Force command does not run stuff on the PI... it is all TI 9900 side... 

 

An extension like the mouse extension or tcp socket extension would have to be added to the TIPI services, to allow controlling Raspberry PI GPIO pins with TIPI messages.  If you can play with GPIO, you should be able to learn enough python to author that extension.  This has to come first before Force Command can get involved... 

 

---

That aside, I do want to add the ability to author external assembled or C commands for Force Command, allowing authors access to all the routines in the ROM. It's in my list of desires.

 

[email protected]

  • Thanks 1

Share this post


Link to post
Share on other sites
15 minutes ago, HOME AUTOMATION said:

My design wants a GPIO pin to give an output pulse every time the PI's RTC advances 1 minute.:)

...Other uses envisioned as well(for more pins:lol:).

 

   P.S. 9901 pins are a pain to get at!:ponder:

 

If I assumed twoodland was talking about Raspberry PI GPIO pins, someone would give me carp for forgetting that many of the pins on a 9901 are general purpose input/output pins.  So I have to ask clarifying questions when people are not precise. 

 

------

 

Your design has zero overlap with Force Command from the information you have provided. I can only recommend that you put your own service on the Raspberry PI to accomplish your 1 minute trigger. https://www.raspberrypi.org/documentation/usage/gpio/ <--- lots of information available to do that. 

 

[email protected]

 

  • Thanks 2

Share this post


Link to post
Share on other sites
19 hours ago, jedimatt42 said:

This is a request to extend the TIPI services, not just Force Command... Force command does not run stuff on the PI... it is all TI 9900 side... 

 

An extension like the mouse extension or tcp socket extension would have to be added to the TIPI services, to allow controlling Raspberry PI GPIO pins with TIPI messages.  If you can play with GPIO, you should be able to learn enough python to author that extension.  This has to come first before Force Command can get involved... 

 

---

That aside, I do want to add the ability to author external assembled or C commands for Force Command, allowing authors access to all the routines in the ROM. It's in my list of desires.

 

[email protected]

Thank you [email protected]  Sorry for the generic question.  I appreciate the clarification and apologize that I am not precise nor have enough knowledge or understanding about the TI, Force Command, Raspberry Pi and TIPI to be able to offer desired suggestions.  I do however, want to learn more about each of these system and hopefully be able to produce something usable to the community.

 

I thank you again for the time and effort to explore my request and for providing a clear response.  

 

  • Like 2

Share this post


Link to post
Share on other sites
On 7/20/2019 at 7:55 PM, twoodland said:

I was hoping to be able to control one of the tipi gpio output pins.  Can force command cause a script to run on the Raspberry Pi (https://www.raspberrypi.org/documentation/usage/gpio/python/README.md)? 

 

A command like LED On/Off?  Then it could be incorporated into batch files/programs to toggle a notification led light.

 

 

why not make a cron on the pi that checks for /home/tipi/tipidisk/flags/ledon and turns it on and then off if the files gone then you can create that file in the ti side with any program 

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, arcadeshopper said:

why not make a cron on the pi that checks for /home/tipi/tipidisk/flags/ledon and turns it on and then off if the files gone then you can create that file in the ti side with any program 

Thank you arcadeshopper, brilliant and simple!  Now to figure out how to check Chatti and Group Chat for notifications/msg's waiting.  That may be able to be integrated into the Pi program as well.   

  • Like 1

Share this post


Link to post
Share on other sites
38 minutes ago, twoodland said:

Thank you arcadeshopper, brilliant and simple!  Now to figure out how to check Chatti and Group Chat for notifications/msg's waiting.  That may be able to be integrated into the Pi program as well.   

NICE!  Since the RPi is always on, a little red LED would be fantastic!  In essence... "Hey, turn on your TI and play, you have a message waiting!"

Share this post


Link to post
Share on other sites
Thank you arcadeshopper, brilliant and simple!  Now to figure out how to check Chatti and Group Chat for notifications/msg's waiting.  That may be able to be integrated into the Pi program as well.   
This has been discussed before and Corey would need to speak to any ability to access his site/data from outside chatti or the browser

Sent from my LM-G820 using Tapatalk

Share this post


Link to post
Share on other sites

Hmmm, if this comes to pass, I'll move my Flex Card Interface to slot #2 and then fix the LED behind the light pipe of slot #1.  This way everything would be contained within the P-Box and no drilling or additional boxes would be necessary.  This would be a very inexpensive, but also a very useful upgrade.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...